From 7606d5591d17428161b1a73ebcc6c4fbec9a44d9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 29 Jan 2005 15:21:42 +0000 Subject: Fix link error when building statically on MacOS X. --- gettext-tools/tests/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gettext-tools/tests/Makefile.am') diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index a57272c..44454c4 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -165,8 +165,10 @@ AM_CPPFLAGS = \ -I../lib -I$(top_srcdir)/lib \ -I../intl DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ +# INTL_MACOSX_LIBS is needed because the programs depend on libintl.la +# but libtool doesn't put -Wl,-framework options into .la files. LDADD = $(LDADD_@USE_INCLUDED_LIBINTL@) -LDADD_yes = ../intl/libintl.la +LDADD_yes = ../intl/libintl.la @INTL_MACOSX_LIBS@ LDADD_no = ../intl/libgnuintl.la @LTLIBINTL@ noinst_PROGRAMS = tstgettext tstngettext testlocale cake fc3 fc4 fc5 tstgettext_SOURCES = tstgettext.c setlocale.c -- cgit v1.1