about summary refs log tree commit diff
path: root/Rules
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-13 07:58:26 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-13 07:58:41 +0100
commit76dcbf42df83c970c13c786d287f1ec69e1b91eb (patch)
tree36ae0ec8440dc26335b049af13dfd3b6a77f2c23 /Rules
parentd89060d60307c84995177a6fba2ed80c96f6b914 (diff)
downloadglibc-76dcbf42df83c970c13c786d287f1ec69e1b91eb.tar.gz
glibc-76dcbf42df83c970c13c786d287f1ec69e1b91eb.tar.xz
glibc-76dcbf42df83c970c13c786d287f1ec69e1b91eb.zip
Expose linking against libsupport as make dependency
This ensures that tests are rebuilt when libsupport changes.
Diffstat (limited to 'Rules')
-rw-r--r--Rules3
1 files changed, 3 insertions, 0 deletions
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)