aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-21 07:21:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-21 07:21:02 +0000
commit137bca87e71138610a5b57e64b5e2619d6889853 (patch)
treed58c45ec6baefa9d0b7b7222fe8f6108d3793199 /elf/Makefile
parentfcacb36a0c1a5c1175952b0f2aedad54b0fb1f10 (diff)
downloadglibc-137bca87e71138610a5b57e64b5e2619d6889853.zip
glibc-137bca87e71138610a5b57e64b5e2619d6889853.tar.gz
glibc-137bca87e71138610a5b57e64b5e2619d6889853.tar.bz2
Rewrite rules to generate filtmod1.so.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 360e764..df00ef2 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -243,7 +243,6 @@ $(objpfx)dep1.so: $(objpfx)dep2.so $(objpfx)dep4.so
$(objpfx)dep2.so: $(objpfx)dep3.so $(objpfx)dep4.so
$(objpfx)dep4.so: $(objpfx)dep3.so
$(objpfx)nodelmod3.so: $(objpfx)nodelmod4.so
-$(objpfx)filtmod1.so: $(objpfx)filtmod2.so
$(test-modules): $(objpfx)%.so: $(objpfx)%.os
$(build-module)
@@ -315,5 +314,9 @@ LDFLAGS-nodlopenmod.so = -Wl,--enable-new-dtags,-z,nodlopen
$(objpfx)nodlopen: $(libdl)
$(objpfx)nodlopen.out: $(objpfx)nodlopenmod.so
-LDFLAGS-filtmod1.so = -Wl,-F,$(objpfx)filtmod2.so
+$(objpfx)filtmod1.so: $(objpfx)filtmod1.os $(objpfx)filtmod2.so
+ $(LINK.o) -shared -o $@ -B$(csu-objpfx) $(LDFLAGS.so) \
+ -L$(subst :, -L,$(rpath-link)) \
+ -Wl,-rpath-link=$(rpath-link) \
+ $< -Wl,-F,$(objpfx)filtmod2.so
$(objpfx)filter: $(objpfx)filtmod1.so