* stdlib/Makefile (tests): Don't run tst-fmtmsg when
cross-compiling.
($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
* stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
only builds.
* elf/Makefile (tests): Only run tst-pathopt with shared libs.
2001-02-10 Andreas Jaeger <aj@suse.de>
+ * stdlib/Makefile (tests): Don't run tst-fmtmsg when
+ cross-compiling.
+ ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
+
+ * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
+ only builds.
+
+ * elf/Makefile (tests): Only run tst-pathopt with shared libs.
+
* posix/Makefile: Fix typo, it's build-static-nss.
* iconv/Makefile (extra-objs): New.
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names))))
generated += $(addsuffix .so,$(strip $(modules-names)))
+ifeq (yes,$(build-shared))
tests: $(objpfx)tst-pathopt.out
+endif
$(objpfx)testobj1.so: $(libdl)
$(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)
include ../Rules
-ifeq (yes,$(built-static-nss))
+ifeq (yes,$(build-static-nss))
# We need it for "make check" only. We can skip them if they haven't
# been built yet during "make".
otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \