From 358cad7c11db498d30cc756cd0881aee2e7270ff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 26 Apr 2003 23:38:49 +0000 Subject: * Makerules ($(common-objpfx)shlib.lds): New target. (common-generated): Add it. (build-shlib, build-module): Use that instead of generating every time. ($(common-objpfx)libc.so): Depend on it. (lib%.so rule): Likewise. (build-module-helper-objlist): Remove %.lds. * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on $(common-objpfx)shlib.lds. * dlfcn/Makefile ($(test-modules)): Likewise. --- iconvdata/extra-module.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iconvdata') diff --git a/iconvdata/extra-module.mk b/iconvdata/extra-module.mk index e00eb5e8d2..7eda4e25aa 100644 --- a/iconvdata/extra-module.mk +++ b/iconvdata/extra-module.mk @@ -3,7 +3,8 @@ extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left))) extra-objs := $(extra-objs) $(patsubst %,%.os,$($(mod)-routines)) -$(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines))) +$(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines)))\ + $(common-objpfx)shlib.lds $(build-module) # Depend on libc.so so a DT_NEEDED is generated in the shared objects. -- cgit v1.2.3