summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-14 04:19:34 +0000
committerRoland McGrath <roland@gnu.org>2002-11-14 04:19:34 +0000
commitc9e032d55f9f17fd8624d610c0290c9aa3fae42d (patch)
treed8a4aa1f04345b9fe2cacb7a5d962f673dace534 /Makerules
parent6e3d59bc0581399e0d8218f7b7fb10961735a82b (diff)
[$(subdir) = elf] (tests): Depend on libc.symlist.
(generated, common-generated): Add those files.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 1fab920a0a..65b7f0a1bc 100644
--- a/Makerules
+++ b/Makerules
@@ -1090,9 +1090,9 @@ $(objpfx)%.dynsym: $(objpfx)%.so
tests: $(patsubst %.so,$(objpfx)%.symlist,$(install-lib.so-versioned))
generated += $(install-lib.so-versioned:.so=.symlist)
-ifndef subdir
-tests: $(objpfx)libc.symlist
-generated += libc.symlist
+ifeq ($(subdir),elf)
+tests: $(common-objpfx)libc.symlist
+common-generated += libc.symlist
endif
endif