about summary refs log tree commit diff
path: root/intl
diff options
context:
space:
mode:
Diffstat (limited to 'intl')
-rw-r--r--intl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/intl/Makefile b/intl/Makefile
index ec81df1221..fc51e2ec13 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -44,10 +44,12 @@ $(objpfx)plural.o: plural.c
 
 include ../Rules
 
+ifeq (yes,$(build-shared))
 .PHONY: do-gettext-test
 tests: do-gettext-test
 do-gettext-test: tst-gettext.sh $(objpfx)tst-gettext
 	$(SHELL) -e $< $(common-objpfx) $(objpfx)
+endif
 
 $(objpfx)msgs.h: po2test.sed ../po/de.po
 	$(make-target-directory)