(tests): Fix last change.
authordrepper <drepper>
Mon, 3 Aug 1998 16:36:02 +0000 (16:36 +0000)
committerdrepper <drepper>
Mon, 3 Aug 1998 16:36:02 +0000 (16:36 +0000)
Rules

diff --git a/Rules b/Rules
index 2353cc3..a3005a0 100644 (file)
--- a/Rules
+++ b/Rules
@@ -89,12 +89,14 @@ else
 others: $(addprefix $(objpfx),$(extra-objs))
 endif
 ifeq ($(cross-compiling),yes)
-tests: $(addprefix $(objpfx),$(tests) $(tests-static) $(test-srcs))
+tests: $(addprefix $(objpfx),$(tests) $(test-srcs))
+ifeq ($(build-static),yes)
+tests: $(addprefix $(objpfx),$(tests-static))
+endif
 else
-ifneq (($build-static),yes)
 tests: $(tests:%=$(objpfx)%.out)
-else
-tests: $(tests:%=$(objpfx)%.out) $(tests-static:%=$(objpfx)%.sout)
+ifeq ($(build-static),yes)
+tests: $(tests-static:%=$(objpfx)%.sout)
 endif
 endif