* 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.
+ * 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.
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
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