]> Savannah Git Hosting - gnulib.git/commitdiff
fnmatch, glob tests: Fix link errors (regression 2023-07-24).
authorBruno Haible <bruno@clisp.org>
Thu, 27 Jul 2023 18:52:36 +0000 (20:52 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 27 Jul 2023 18:52:36 +0000 (20:52 +0200)
* 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).

ChangeLog
modules/fnmatch-tests
modules/glob
modules/glob-tests

index f7e46139376568475f0bb0896f7699eb01799d36..ee5814a900866c1c870ce057dc78b2322c2fe815 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
index 2d66f6f3611325676b4fd5ad9263b9ee4d68040f..30ec4fded62582f77ce333de5373390dfb07a480 100644 (file)
@@ -46,3 +46,4 @@ TESTS_ENVIRONMENT += \
   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)
index a03834a619e770189236f0afb518d6951ee997cd..7d1fea1d5d38a9e70f154b76d336369a72e6e308 100644 (file)
@@ -59,6 +59,7 @@ Include:
 <glob.h>
 
 Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
 $(MBRTOWC_LIB)
 
 License:
index 2abbba3da6a545923f4d849dd79734855371a658..6054e7838b22a18d769bc2baed63840d83d30619 100644 (file)
@@ -12,7 +12,7 @@ configure.ac:
 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 \