+2021-12-24 Bruno Haible <bruno@clisp.org>
+
+ tests: Fix link errors on AIX.
+ * modules/fnmatch-h-c++-tests (Makefile.am): Link test-fnmatch-h-c++
+ with $(LIB_MBRTOWC).
+ * modules/glob-h-c++-tests (Makefile.am): Link test-glob-h-c++ with
+ $(LIB_MBRTOWC).
+ * modules/stdlib-c++-tests (Makefile.am): Link test-stdlib-c++ with
+ $(GETLOADAVG_LIBS).
+ * modules/sys_stat-c++-tests (Makefile.am): Link test-sys_stat-c++ with
+ $(LIB_MBRTOWC).
+ * modules/uchar-c++-tests (Makefile.am): Link test-uchar-c++ with
+ $(LIBUNISTRING).
+
2021-12-24 Bruno Haible <bruno@clisp.org>
hamt tests: Fix compilation error with AIX xlc.
TESTS += test-fnmatch-h-c++
check_PROGRAMS += test-fnmatch-h-c++
test_fnmatch_h_c___SOURCES = test-fnmatch-h-c++.cc
+test_fnmatch_h_c___LDADD = $(LDADD) $(LIB_MBRTOWC)
endif
TESTS += test-glob-h-c++
check_PROGRAMS += test-glob-h-c++
test_glob_h_c___SOURCES = test-glob-h-c++.cc
-test_glob_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+test_glob_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_MBRTOWC)
endif
TESTS += test-stdlib-c++
check_PROGRAMS += test-stdlib-c++
test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
-test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_GETRANDOM)
+test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(GETLOADAVG_LIBS) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_GETRANDOM)
endif
TESTS += test-sys_stat-c++
check_PROGRAMS += test-sys_stat-c++
test_sys_stat_c___SOURCES = test-sys_stat-c++.cc
-test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
+test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_MBRTOWC)
endif
if CXX_HAVE_CUCHAR
test_uchar_c___SOURCES += test-uchar-c++2.cc
endif
-test_uchar_c___LDADD = $(LDADD) $(LIB_MBRTOWC)
+test_uchar_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIB_MBRTOWC)
endif