aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-07-14 20:49:27 -0700
committerRoland McGrath <roland@hack.frob.com>2011-07-14 20:49:27 -0700
commita6928d5102a89f152fe9d17abb26346dc8cefc9c (patch)
treeadc4f341cfa629199ddc2f13cbbcc87cf78415a2 /elf/Makefile
parent661607b3dd9f0b10667d4040843c1a3dc40f0cc9 (diff)
downloadglibc-a6928d5102a89f152fe9d17abb26346dc8cefc9c.tar
glibc-a6928d5102a89f152fe9d17abb26346dc8cefc9c.tar.gz
glibc-a6928d5102a89f152fe9d17abb26346dc8cefc9c.tar.bz2
glibc-a6928d5102a89f152fe9d17abb26346dc8cefc9c.zip
Fix remaining explicit uses of shlib.lds to use $(shlib-lds).
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index d4180999a8..709b61dddf 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -178,7 +178,7 @@ install-others += $(inst_auditdir)/sotruss-lib.so
install-bin-script += sotruss
generated += sotruss
CPPFLAGS-sotruss-lib = -DNOT_IN_libc
-$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(common-objpfx)shlib.lds
+$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os
$(build-module-asneeded)
$(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \
$(common-objpfx)libc_nonshared.a
@@ -355,6 +355,8 @@ endif
# Command to link into a larger single relocatable object.
reloc-link = $(LINK.o) -nostdlib -nostartfiles -r
+$(objpfx)sotruss-lib.so: $(shlib-lds)
+
$(objpfx)dl-allobjs.os: $(all-rtld-routines:%=$(objpfx)%.os)
$(reloc-link) -o $@ $^