1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
authorroland <roland>
Tue, 18 Aug 1998 18:48:58 +0000 (18:48 +0000)
committerroland <roland>
Tue, 18 Aug 1998 18:48:58 +0000 (18:48 +0000)
* Rules (binaries-static, binaries-shared static pattern rules):
Depend on lib%, not just libc%, from $(link-libc{,-static}).

Rules

diff --git a/Rules b/Rules
index a3005a0..b401c31 100644 (file)
--- a/Rules
+++ b/Rules
@@ -112,14 +112,14 @@ binaries-shared = $(filter-out $(binaries-static), $(binaries-all))
 
 ifneq "$(strip $(binaries-shared))" ""
 $(addprefix $(objpfx),$(binaries-shared)): %: %.o \
-  $(sort $(filter $(common-objpfx)libc%,$(link-libc))) \
+  $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
   $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
        $(+link)
 endif
 
 ifneq "$(strip $(binaries-static))" ""
 $(addprefix $(objpfx),$(binaries-static)): %: %.o \
-  $(sort $(filter $(common-objpfx)libc%,$(link-libc-static))) \
+  $(sort $(filter $(common-objpfx)lib%,$(link-libc-static))) \
   $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
        $(+link-static)
 endif