about summary refs log tree commit diff
path: root/intl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'intl/Makefile')
-rw-r--r--intl/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/intl/Makefile b/intl/Makefile
index 4546b715f8..0536c37beb 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -53,9 +53,11 @@ include ../Rules
 
 ifeq (no,$(cross-compiling))
 ifeq (yes,$(build-shared))
-ifneq ($(strip $(MSGFMT)),:)
-tests: $(objpfx)mtrace-tst-gettext $(objpfx)tst-translit.out \
-       $(objpfx)tst-gettext2.out
+fneq ($(strip $(MSGFMT)),:)
+tests: $(objpfx)tst-translit.out $(objpfx)tst-gettext2.out
+ifneq (no,$(PERL))
+tests: $(objpfx)mtrace-tst-gettext
+endif
 $(objpfx)mtrace-tst-gettext: $(objpfx)tst-gettext.out
 	$(common-objpfx)malloc/mtrace $(objpfx)tst-gettext.mtrace > $@
 $(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext