From 504b406d2b27267ba78df87b9c0e3fd9a87cd7b5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 3 Oct 2023 10:51:06 +0200 Subject: [PATCH] string-c++-tests, uchar-c++-tests: Fix link errors on Mac OS X. * modules/string-c++-tests (Makefile.am): Link test-string-c++ with $(LIBC32CONV). * modules/uchar-c++-tests (Makefile.am): Link test-uchar-c++ with $(LIBC32CONV). --- ChangeLog | 8 ++++++++ modules/string-c++-tests | 2 +- modules/uchar-c++-tests | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e172526b2..aa7b274430 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-10-03 Bruno Haible + + string-c++-tests, uchar-c++-tests: Fix link errors on Mac OS X. + * modules/string-c++-tests (Makefile.am): Link test-string-c++ with + $(LIBC32CONV). + * modules/uchar-c++-tests (Makefile.am): Link test-uchar-c++ with + $(LIBC32CONV). + 2023-10-03 Bruno Haible mcel tests: Fix link error. diff --git a/modules/string-c++-tests b/modules/string-c++-tests index 10d117fa90..fb44ae42da 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) $(LIBUNISTRING) $(LIBINTL) $(LIBTHREAD) +test_string_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(LIBC32CONV) $(LIBTHREAD) endif diff --git a/modules/uchar-c++-tests b/modules/uchar-c++-tests index 12183abd52..bf6640f712 100644 --- a/modules/uchar-c++-tests +++ b/modules/uchar-c++-tests @@ -39,5 +39,5 @@ test_uchar_c___SOURCES = test-uchar-c++.cc if CXX_HAVE_CUCHAR test_uchar_c___SOURCES += test-uchar-c++2.cc endif -test_uchar_c___LDADD = $(LDADD) $(LIBUNISTRING) $(MBRTOWC_LIB) +test_uchar_c___LDADD = $(LDADD) $(LIBUNISTRING) $(MBRTOWC_LIB) $(LIBC32CONV) endif -- 2.39.5