From: Bruno Haible Date: Sat, 3 Sep 2022 23:14:18 +0000 (+0200) Subject: Fix compilation errors of C++ tests on Solaris 10 with Sun C++. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4056efc5909ca6998be19b46282c1d1f43718f58;p=gnulib.git 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). --- diff --git a/ChangeLog b/ChangeLog index ca73d142f3..b5f51a1a0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2022-09-03 Bruno Haible + + 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 Fix a compilation error in C++ mode on FreeBSD 13.1. 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