summaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-26 23:38:49 +0000
committerRoland McGrath <roland@gnu.org>2003-04-26 23:38:49 +0000
commit358cad7c11db498d30cc756cd0881aee2e7270ff (patch)
treec6178ef390d1d688e5ceff7a275458271ea9db29 /iconvdata
parentd3f063bc78c7f6b9af0a1a41b43acdfad64cf783 (diff)
* 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.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/extra-module.mk3
1 files changed, 2 insertions, 1 deletions
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.