From: Bruno Haible Date: Tue, 17 Nov 2020 01:30:29 +0000 (+0100) Subject: Fix link errors on platforms with libintl (e.g. Solaris and AIX). X-Git-Tag: v1.0~3505 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=72a71de689b06eb0f2ad9c02f7682e26bcb518b9;p=gnulib.git Fix link errors on platforms with libintl (e.g. Solaris and AIX). Reported by Tom G. Christensen in . * modules/getumask-tests (Makefile.am): Link test-getumask with $(LIBINTL). * modules/stack-tests (Makefile.am): Link test-stack with $(LIBINTL). * modules/supersede-tests (Makefile.am): Link test-supersede with $(LIBINTL). * modules/unicodeio-tests (Makefile.am): Link test-unicodeio with $(LIBINTL). --- diff --git a/ChangeLog b/ChangeLog index c0c0466eeb..9aa062804c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2020-11-16 Bruno Haible + + Fix link errors on platforms with libintl (e.g. Solaris and AIX). + Reported by Tom G. Christensen in + . + * modules/getumask-tests (Makefile.am): Link test-getumask with + $(LIBINTL). + * modules/stack-tests (Makefile.am): Link test-stack with $(LIBINTL). + * modules/supersede-tests (Makefile.am): Link test-supersede with + $(LIBINTL). + * modules/unicodeio-tests (Makefile.am): Link test-unicodeio with + $(LIBINTL). + 2020-11-16 Bruno Haible getumask: Document link dependencies. diff --git a/modules/getumask-tests b/modules/getumask-tests index efded3428f..29b91c7027 100644 --- a/modules/getumask-tests +++ b/modules/getumask-tests @@ -10,4 +10,4 @@ configure.ac: Makefile.am: TESTS += test-getumask check_PROGRAMS += test-getumask -test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) +test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) diff --git a/modules/stack-tests b/modules/stack-tests index 308d7258ec..b38e350083 100644 --- a/modules/stack-tests +++ b/modules/stack-tests @@ -11,3 +11,4 @@ Makefile.am: TESTS += test-stack check_PROGRAMS += test-stack test_stack_SOURCES = test-stack.c +test_stack_LDADD = $(LDADD) $(LIBINTL) diff --git a/modules/supersede-tests b/modules/supersede-tests index 932cd2ce5a..75c886bff8 100644 --- a/modules/supersede-tests +++ b/modules/supersede-tests @@ -19,4 +19,4 @@ configure.ac: Makefile.am: TESTS += test-supersede check_PROGRAMS += test-supersede -test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) +test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) diff --git a/modules/unicodeio-tests b/modules/unicodeio-tests index d771ff81f4..aa5803cf10 100644 --- a/modules/unicodeio-tests +++ b/modules/unicodeio-tests @@ -18,4 +18,4 @@ gt_LOCALE_ZH_CN Makefile.am: TESTS += test-unicodeio1.sh test-unicodeio2.sh test-unicodeio3.sh check_PROGRAMS += test-unicodeio -test_unicodeio_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIBICONV) +test_unicodeio_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIBICONV) $(LIBINTL)