From 1796d83f0f1b602f471047d71192155b3276d5a0 Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@gnu.org>
Date: Mon, 13 May 1996 23:54:12 +0000
Subject: Mon May 13 19:52:33 1996  Roland McGrath 
 <roland@delasyd.gnu.ai.mit.edu>

	* elf/Makefile (subdir_lib): Depend on ld.so.
---
 elf/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'elf')

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
 
-- 
cgit v1.2.3-70-g09d2