summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-09-04 01:14:18 +0200
committerBruno Haible <bruno@clisp.org>2022-09-04 01:17:48 +0200
commit3951d08d07944067bf5551a4afeaf6d02ab8f225 (patch)
treee451d071dee309ebde3567762db127ff91b425ce
parentc1aaa6e4dba6984c3072cf371b7395720ad2b686 (diff)
downloadgnulib-3951d08d07944067bf5551a4afeaf6d02ab8f225.tar.gz
Fix compilation errors of C++ tests on Solaris 10 with Sun C++.
* modules/string-c++-tests (Makefile.am): Link test-string-c++ with $(LIBUNISTRING). * modules/wchar-c++-tests (Makefile.am): Link test-wchar-c++ with $(LIBUNISTRING).
-rw-r--r--ChangeLog8
-rw-r--r--modules/string-c++-tests2
-rw-r--r--modules/wchar-c++-tests2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fcc0fa263f..753614a0a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2022-09-03 Bruno Haible <bruno@clisp.org>
+ Fix compilation errors of C++ tests on Solaris 10 with Sun C++.
+ * modules/string-c++-tests (Makefile.am): Link test-string-c++ with
+ $(LIBUNISTRING).
+ * modules/wchar-c++-tests (Makefile.am): Link test-wchar-c++ with
+ $(LIBUNISTRING).
+
+2022-09-03 Bruno Haible <bruno@clisp.org>
+
Fix a compilation error in C++ mode on FreeBSD 13.1.
* lib/signal.in.h: Don't include <pthread.h> on FreeBSD ≥ 8.0.
* lib/sys_select.in.h: Don't include <sys/time.h> on FreeBSD.
diff --git a/modules/string-c++-tests b/modules/string-c++-tests
index bd813bd892..10d117fa90 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) $(LIBTHREAD)
+test_string_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(LIBTHREAD)
endif
diff --git a/modules/wchar-c++-tests b/modules/wchar-c++-tests
index a91e43aec4..93135d5347 100644
--- a/modules/wchar-c++-tests
+++ b/modules/wchar-c++-tests
@@ -17,5 +17,5 @@ if ANSICXX
TESTS += test-wchar-c++
check_PROGRAMS += test-wchar-c++
test_wchar_c___SOURCES = test-wchar-c++.cc test-wchar-c++2.cc test-wchar-c++3.cc
-test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) $(LIBTHREAD)
+test_wchar_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) $(LIBTHREAD)
endif