]> Savannah Git Hosting - gnulib.git/commitdiff
Fix link errors with --enable-threads=posix on AIX.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Dec 2019 01:04:23 +0000 (02:04 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Dec 2019 01:05:15 +0000 (02:05 +0100)
* 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).

ChangeLog
modules/string-c++-tests
modules/wchar-c++-tests

index ee10cf32dd74526e309e3870cfc3f77b405e5db5..159f32c3b5c040e4a6c83543a90a60c21899118a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-12-02  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        Fix link errors with --enable-threads=posix on AIX.
index 2f7e23ca9d1a8e56ce8101620c119b9498a9f18a..bd813bd892d1e22ecdc868663ca66e5cc93b6fe7 100644 (file)
@@ -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
index efc9c2ec35947e13c6fa1fa887453bc85fc0150b..cd898e2cbcc57ce8ffc1a1a0dedebcf88f3e52db 100644 (file)
@@ -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