diff options
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/extra-module.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/iconvdata/extra-module.mk b/iconvdata/extra-module.mk index 7eda4e25aa..163074fea4 100644 --- a/iconvdata/extra-module.mk +++ b/iconvdata/extra-module.mk @@ -5,12 +5,14 @@ extra-objs := $(extra-objs) $(patsubst %,%.os,$($(mod)-routines)) $(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines)))\ $(common-objpfx)shlib.lds - $(build-module) + $(build-module-asneeded) # Depend on libc.so so a DT_NEEDED is generated in the shared objects. # This ensures they will load libc.so for needed symbols if loaded by # a statically-linked program that hasn't already loaded it. -$(objpfx)$(mod).so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a +$(objpfx)$(mod).so: $(common-objpfx)libc.so \ + $(common-objpfx)/elf/ld.so \ + $(common-objpfx)libc_nonshared.a ifneq (,$(extra-modules-left)) include extra-module.mk |