From e1e3ba549adc0a43beebcd19a8f8515c4696ed06 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 10 Feb 2001 23:06:59 +0000 Subject: Update. * 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. --- elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'elf') diff --git a/elf/Makefile b/elf/Makefile index 82800cb..39f1478 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -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) -- cgit v1.1