1998-08-18 Roland McGrath <roland@baalperazim.frob.com>

* Rules (binaries-static, binaries-shared static pattern rules): 
Depend on lib%, not just libc%, from $(link-libc{,-static}).
This commit is contained in:
Roland McGrath 1998-08-18 18:48:58 +00:00
parent b2eda92bac
commit 9992e360c8

4
Rules
View File

@ -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