aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-02-10 23:06:59 +0000
committerAndreas Jaeger <aj@suse.de>2001-02-10 23:06:59 +0000
commite1e3ba549adc0a43beebcd19a8f8515c4696ed06 (patch)
tree9a654f1b171b6a0379bf7816c6cc5d4c801a69ae /elf
parentd727629d3b297c0a5c30cae8a6bc5be59b3fd344 (diff)
downloadglibc-e1e3ba549adc0a43beebcd19a8f8515c4696ed06.tar
glibc-e1e3ba549adc0a43beebcd19a8f8515c4696ed06.tar.gz
glibc-e1e3ba549adc0a43beebcd19a8f8515c4696ed06.tar.bz2
glibc-e1e3ba549adc0a43beebcd19a8f8515c4696ed06.zip
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.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 82800cbef5..39f14783be 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)