From: Bruno Haible Date: Sat, 15 May 2010 12:26:25 +0000 (+0200) Subject: Avoid link error on MacOS X 10.4, due to replaced 'unsetenv' function. X-Git-Tag: v0.18.1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73700131b8bccc1affa86126b988457536a351a3;p=thirdparty%2Fgettext.git Avoid link error on MacOS X 10.4, due to replaced 'unsetenv' function. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index b7495ce37..4d7c60f85 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,11 @@ +2010-05-15 Bruno Haible + + Avoid link error on MacOS X 10.4, due to replaced 'unsetenv' function. + * Makefile.am (gettext_6_prg_LDADD, gettext_7_prg_LDADD): Add + libgettextlib.la. Add $(LDADD). + (gettext_6_prg_LDADD_1, gettext_7_prg_LDADD_1): Remove $(LDADD) here. + Reported by at . + 2010-05-09 Bruno Haible * gettext-0.18 released. diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index 5a89a6e02..496e13eda 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -223,13 +223,13 @@ gettext_5_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) gettext_6_prg_SOURCES = gettext-6-prg.c gettext_6_prg_CFLAGS = $(gettext_6_prg_CFLAGS_@HAVE_NEWLOCALE@) gettext_6_prg_CFLAGS_1 = -DUSE_POSIX_THREADS -gettext_6_prg_LDADD = $(gettext_6_prg_LDADD_@HAVE_NEWLOCALE@) -gettext_6_prg_LDADD_1 = $(LDADD) -lpthread +gettext_6_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) $(gettext_6_prg_LDADD_@HAVE_NEWLOCALE@) +gettext_6_prg_LDADD_1 = -lpthread gettext_7_prg_SOURCES = gettext-7-prg.c gettext_7_prg_CFLAGS = $(gettext_7_prg_CFLAGS_@HAVE_NEWLOCALE@) gettext_7_prg_CFLAGS_1 = -DUSE_POSIX_THREADS -gettext_7_prg_LDADD = $(gettext_7_prg_LDADD_@HAVE_NEWLOCALE@) -gettext_7_prg_LDADD_1 = $(LDADD) -lpthread +gettext_7_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) $(gettext_7_prg_LDADD_@HAVE_NEWLOCALE@) +gettext_7_prg_LDADD_1 = -lpthread gettext_8_prg_SOURCES = gettext-8-prg.c gettext_8_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) cake_SOURCES = plural-1-prg.c setlocale.c