Only run the gettext test with shared libraries.
authordrepper <drepper>
Wed, 5 Apr 2000 07:40:35 +0000 (07:40 +0000)
committerdrepper <drepper>
Wed, 5 Apr 2000 07:40:35 +0000 (07:40 +0000)
intl/Makefile

index ec81df1..fc51e2e 100644 (file)
@@ -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)