diff options
author | Bruno Haible <bruno@clisp.org> | 2020-11-17 02:30:29 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-11-17 02:30:29 +0100 |
commit | 72a71de689b06eb0f2ad9c02f7682e26bcb518b9 (patch) | |
tree | 326d09b1ecc013b2a288d25729331238093b7fa1 | |
parent | f1b7489ca2b67e4c68ab2a8e0591ef42562166e7 (diff) | |
download | gnulib-72a71de689b06eb0f2ad9c02f7682e26bcb518b9.tar.gz gnulib-72a71de689b06eb0f2ad9c02f7682e26bcb518b9.tar.bz2 |
Fix link errors on platforms with libintl (e.g. Solaris and AIX).
Reported by Tom G. Christensen <tgc@jupiterrise.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00062.html>.
* 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).
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | modules/getumask-tests | 2 | ||||
-rw-r--r-- | modules/stack-tests | 1 | ||||
-rw-r--r-- | modules/supersede-tests | 2 | ||||
-rw-r--r-- | modules/unicodeio-tests | 2 |
5 files changed, 17 insertions, 3 deletions
@@ -1,5 +1,18 @@ 2020-11-16 Bruno Haible <bruno@clisp.org> + Fix link errors on platforms with libintl (e.g. Solaris and AIX). + Reported by Tom G. Christensen <tgc@jupiterrise.com> in + <https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00062.html>. + * 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 <bruno@clisp.org> + getumask: Document link dependencies. * modules/getumask (Link): New section. 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) |