* modules/fnmatch-tests (Makefile.am): Link test-fnmatch-w32 with the
same libraries as test-fnmatch.
* modules/glob (Link): Add $(LIBUNISTRING).
* modules/glob-tests (Makefile.am): Link test-glob with $(LIBUNISTRING).
+2023-07-27 Bruno Haible <bruno@clisp.org>
+
+ 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.
+ * modules/glob (Link): Add $(LIBUNISTRING).
+ * modules/glob-tests (Makefile.am): Link test-glob with $(LIBUNISTRING).
+
2023-07-26 Bruno Haible <bruno@clisp.org>
wctrans: Work around bug on NetBSD.
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
check_PROGRAMS += test-fnmatch test-fnmatch-w32
test_fnmatch_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(MBRTOWC_LIB)
+test_fnmatch_w32_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(MBRTOWC_LIB)
<glob.h>
Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
License:
Makefile.am:
TESTS += test-glob
check_PROGRAMS += test-glob
-test_glob_LDADD = $(LDADD) $(LIBINTL) $(MBRTOWC_LIB)
+test_glob_LDADD = $(LDADD) $(LIBUNISTRING) $(LIBINTL) $(MBRTOWC_LIB)
MOSTLYCLEANFILES += \
test-glob.tglobfile \
test-glob.tgloblink1 \