From b3bf1cf971556e8818c888c5cd57402faa62b81b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 27 Jul 2023 22:19:08 +0200 Subject: [PATCH] fnmatch-h, glob-h tests: Fix link errors (regression 2023-07-24). * modules/fnmatch-h-c++-tests (Makefile.am): Link test-fnmatch-h-c++ with $(LIBUNISTRING). * modules/glob-h-c++-tests (Makefile.am): Link test-glob-h-c++ with $(LIBUNISTRING). --- ChangeLog | 6 ++++++ modules/fnmatch-h-c++-tests | 2 +- modules/glob-h-c++-tests | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee5814a900..2deb69cc2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2023-07-27 Bruno Haible + fnmatch-h, glob-h tests: Fix link errors (regression 2023-07-24). + * modules/fnmatch-h-c++-tests (Makefile.am): Link test-fnmatch-h-c++ + with $(LIBUNISTRING). + * modules/glob-h-c++-tests (Makefile.am): Link test-glob-h-c++ with + $(LIBUNISTRING). + fnmatch, glob tests: Fix link errors (regression 2023-07-24). * modules/fnmatch-tests (Makefile.am): Link test-fnmatch-w32 with the same libraries as test-fnmatch. diff --git a/modules/fnmatch-h-c++-tests b/modules/fnmatch-h-c++-tests index eedd075d23..9051215f6c 100644 --- a/modules/fnmatch-h-c++-tests +++ b/modules/fnmatch-h-c++-tests @@ -15,5 +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) $(MBRTOWC_LIB) +test_fnmatch_h_c___LDADD = $(LDADD) $(LIBUNISTRING) $(MBRTOWC_LIB) endif diff --git a/modules/glob-h-c++-tests b/modules/glob-h-c++-tests index 965f53f186..2a80a3d4b1 100644 --- a/modules/glob-h-c++-tests +++ b/modules/glob-h-c++-tests @@ -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) $(CLOCK_TIME_LIB) $(MBRTOWC_LIB) +test_glob_h_c___LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(CLOCK_TIME_LIB) $(MBRTOWC_LIB) endif -- 2.39.5