From: Bruno Haible Date: Tue, 3 Dec 2019 01:04:23 +0000 (+0100) Subject: Fix link errors with --enable-threads=posix on AIX. X-Git-Tag: v1.0~4560 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=8d12cf0731229ba84527b5a8651bee44c26556e1;p=gnulib.git Fix link errors with --enable-threads=posix on AIX. * modules/string-c++-tests (Makefile.am): Link the test-string-c++ program with $(LIBTHREAD). * modules/wchar-c++-tests (Makefile.am): Link the test-wchar-c++ program with $(LIBTHREAD). --- diff --git a/ChangeLog b/ChangeLog index ee10cf32dd..159f32c3b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2019-12-02 Bruno Haible + + Fix link errors with --enable-threads=posix on AIX. + * modules/string-c++-tests (Makefile.am): Link the test-string-c++ + program with $(LIBTHREAD). + * modules/wchar-c++-tests (Makefile.am): Link the test-wchar-c++ + program with $(LIBTHREAD). + 2019-12-02 Bruno Haible Fix link errors with --enable-threads=posix on AIX. diff --git a/modules/string-c++-tests b/modules/string-c++-tests index 2f7e23ca9d..bd813bd892 100644 --- a/modules/string-c++-tests +++ b/modules/string-c++-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-string-c++ check_PROGRAMS += test-string-c++ test_string_c___SOURCES = test-string-c++.cc test-string-c++2.cc -test_string_c___LDADD = $(LDADD) $(LIBINTL) +test_string_c___LDADD = $(LDADD) $(LIBINTL) $(LIBTHREAD) endif diff --git a/modules/wchar-c++-tests b/modules/wchar-c++-tests index efc9c2ec35..cd898e2cbc 100644 --- a/modules/wchar-c++-tests +++ b/modules/wchar-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-wchar-c++ check_PROGRAMS += test-wchar-c++ test_wchar_c___SOURCES = test-wchar-c++.cc -test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) +test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) $(LIBTHREAD) endif