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