Merge branch 'fedora/master' of sourceware.org:/git/glibc into fedora/master
[glibc.git] / iconvdata / extra-module.mk
blob163074fea47549c0de7d5c09387cc096fd6bfe99
1 mod := $(firstword $(extra-modules-left))
2 extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left)))
4 extra-objs := $(extra-objs) $(patsubst %,%.os,$($(mod)-routines))
6 $(objpfx)$(mod).so: $(addprefix $(objpfx),$(addsuffix .os,$($(mod)-routines)))\
7 $(common-objpfx)shlib.lds
8 $(build-module-asneeded)
10 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
11 # This ensures they will load libc.so for needed symbols if loaded by
12 # a statically-linked program that hasn't already loaded it.
13 $(objpfx)$(mod).so: $(common-objpfx)libc.so \
14 $(common-objpfx)/elf/ld.so \
15 $(common-objpfx)libc_nonshared.a
17 ifneq (,$(extra-modules-left))
18 include extra-module.mk
19 endif