summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-23 22:18:45 +0000
committerRoland McGrath <roland@gnu.org>1996-07-23 22:18:45 +0000
commitc7fd2f4783d87f29f89709e11dc613b0cb04f0dc (patch)
tree88088cc31588d432dc66541be24e890f040b1480 /elf
parentb24be05f19d1471526b4643d96c078d32ec1c692 (diff)
Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960725cvs/libc-960724
* sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. ($(common-objpfx)libc.so): Move deps into that, use it. [$(subdir) = elf] ($(objpfx)librtld.so): Depend on $(rpcuserlibs:.so=_pic.a). * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't use $(LDLIBS-c.so). Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 3b3bd1457b..44c510ac43 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -70,9 +70,7 @@ $(objpfx)dl-allobjs.so: $(rtld-routines:%=$(objpfx)%.so)
# Link together the dynamic linker into a single relocatable object.
# We use this to produce both the ABI-compliant and Linux-compatible
# dynamic linker shared objects below.
-$(objpfx)librtld.so: $(objpfx)dl-allobjs.so \
- $(patsubst %,$(common-objpfx)lib%_pic.a,\
- c $(LDLIBS-c.so:-l%=%))
+$(objpfx)librtld.so: $(objpfx)dl-allobjs.so $(common-objpfx)libc_pic.a
$(reloc-link) '-Wl,-(' $^ -lgcc '-Wl,-)'
$(objpfx)ld.so: $(objpfx)librtld.so