]> Savannah Git Hosting - gnulib.git/commitdiff
Fix compilation errors of C++ tests on Solaris 10 with Sun C++.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Sep 2022 23:14:18 +0000 (01:14 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Sep 2022 00:08:07 +0000 (02:08 +0200)
* modules/string-c++-tests (Makefile.am): Link test-string-c++ with
$(LIBUNISTRING).
* modules/wchar-c++-tests (Makefile.am): Link test-wchar-c++ with
$(LIBUNISTRING).

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

index ca73d142f3edb64fac4a282a319a60e0dfccf389..b5f51a1a0c016d730abb2e1e7232ad8acd88a362 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
index bd813bd892d1e22ecdc868663ca66e5cc93b6fe7..10d117fa903f1103eb7603f2846402cda7d023ec 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) $(LIBTHREAD)
+test_string_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(LIBTHREAD)
 endif
index a91e43aec468bfcf5225144e0dadb4172f4fddb0..93135d53477312844b7dffef9155f2bf8777834d 100644 (file)
@@ -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