From 76dcbf42df83c970c13c786d287f1ec69e1b91eb Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 13 Dec 2016 07:58:26 +0100 Subject: Expose linking against libsupport as make dependency This ensures that tests are rebuilt when libsupport changes. --- Rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Rules') diff --git a/Rules b/Rules index de58a64a67..9e02eb7ea7 100644 --- a/Rules +++ b/Rules @@ -189,6 +189,7 @@ endif ifneq "$(strip $(binaries-shared-tests))" "" $(addprefix $(objpfx),$(binaries-shared-tests)): %: %.o \ + $(link-extra-libs-tests) \ $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) $(+link-tests) @@ -196,6 +197,7 @@ endif ifneq "$(strip $(binaries-pie-tests))" "" $(addprefix $(objpfx),$(binaries-pie-tests)): %: %.o \ + $(link-extra-libs-tests) \ $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) $(+link-pie-tests) @@ -217,6 +219,7 @@ endif ifneq "$(strip $(binaries-static-tests))" "" $(addprefix $(objpfx),$(binaries-static-tests)): %: %.o \ + $(link-extra-libs-tests) \ $(sort $(filter $(common-objpfx)lib%,$(link-libc-static-tests))) \ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) $(+link-static-tests) -- cgit v1.2.1