summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-13 23:54:12 +0000
committerRoland McGrath <roland@gnu.org>1996-05-13 23:54:12 +0000
commit1796d83f0f1b602f471047d71192155b3276d5a0 (patch)
treed06de22a3e00b719991f8e16d3f32d4a29e26449 /elf
parent70c715189394f327651ccb2d96d19004ba3fb7e8 (diff)
downloadglibc-1796d83f0f1b602f471047d71192155b3276d5a0.tar.gz
Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/Makefile (subdir_lib): Depend on ld.so.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index c973a0f461..6569a7e573 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -43,9 +43,14 @@ generated = librtld.so dl-allobjs.so
install-others = $(slibdir)/$(rtld-installed-name)
install-bin = ldd
+# Make sure this is built in the `make lib' pass so it can be used
+# to run programs during the `make others' pass.
+subdir_lib: $(objpfx)ld.so
+
ifneq (,$(filter linux%,$(config-os)))
extra-objs += linux-compat.so
install-others += $(slibdir)/ld-linux.so.1
+subdir_lib: $(objpfx)ld-linux.so.1
endif
endif