* 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.
This commit is contained in:
Andreas Jaeger 2001-02-10 23:06:59 +00:00
parent d727629d3b
commit e1e3ba549a
3 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,14 @@
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.

View File

@ -245,7 +245,9 @@ CFLAGS-cache.c = $(SYSCONF-FLAGS)
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)

View File

@ -86,7 +86,7 @@ generated := $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \
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 \