summaryrefslogtreecommitdiff
path: root/resolv/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-01 22:15:00 +0000
committerRoland McGrath <roland@gnu.org>2003-03-01 22:15:00 +0000
commitf88658e9b9f14f856ef41021eadfd3bb13db3297 (patch)
treef53b8a774d01f92a663f285f21ecf3a54f8d112a /resolv/Makefile
parent4191f43dd21ed817d02a1f8d0ac277f26d5a537e (diff)
2003-03-01 Andreas Schwab <schwab@suse.de>
* resolv/Makefile (tests): Don't depend on $(objpfx)mtrace-tst-leaks when cross compiling.
Diffstat (limited to 'resolv/Makefile')
-rw-r--r--resolv/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index 44c1b342ce..2e74ba591c 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -93,6 +93,8 @@ $(objpfx)tst-leaks: $(objpfx)libresolv.so
tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace
$(objpfx)mtrace-tst-leaks: $(objpfx)tst-leaks.out
$(common-objpfx)malloc/mtrace $(objpfx)tst-leaks.mtrace > $@
+ifeq (no,$(cross-compiling))
ifneq (no,$(PERL))
tests: $(objpfx)mtrace-tst-leaks
endif
+endif