]> Savannah Git Hosting - gnulib.git/commitdiff
tests: Fix link errors on AIX.
authorBruno Haible <bruno@clisp.org>
Fri, 24 Dec 2021 18:43:11 +0000 (19:43 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 24 Dec 2021 18:43:11 +0000 (19:43 +0100)
* 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).

ChangeLog
modules/fnmatch-h-c++-tests
modules/glob-h-c++-tests
modules/stdlib-c++-tests
modules/sys_stat-c++-tests
modules/uchar-c++-tests

index 45bc226680ad22d7a1d1d7e515e244a28c599f6c..5e27c022e95f269144a5a2ff398db8edf1800e65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+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.
index 3aed079293385fc1f8770f2b5cb44026322e64ef..abae06d998117d0e3bac90cce5964a9c45688fdd 100644 (file)
@@ -15,4 +15,5 @@ if ANSICXX
 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
index de42019ea9279112cd29e35983fc48894c9eded3..4ae96408e2febd1390e10aeec599f76abc6d9f03 100644 (file)
@@ -15,5 +15,5 @@ if ANSICXX
 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
index 1089c46ee3327218793393eb7b7fb81d24fb78b1..465ebfedab16dc497cdf0d9c941ec499cd3e9349 100644 (file)
@@ -16,5 +16,5 @@ if ANSICXX
 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
index 03f0048f87e627c9a3d9ad87d3ff7b19b6e1f1c7..576ef07014a93fc7af2d4d5d78d6a8fd62fb5750 100644 (file)
@@ -15,5 +15,5 @@ if ANSICXX
 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
index 2cbc3312b52a95e6748b1b4e3f1cdea3084ee2b0..7ff4e1bf23ed5de1a90e2bb711418faaeac96b40 100644 (file)
@@ -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) $(LIB_MBRTOWC)
+test_uchar_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIB_MBRTOWC)
 endif