* modules/regex (Link): Add $(LIBUNISTRING), $(LIBC32CONV).
* modules/regex-tests (Makefile.am): Link test-regex with
$(LIBUNISTRING) and $(LIBC32CONV).
+2026-04-25 Bruno Haible <bruno@clisp.org>
+
+ regex: Fix link error on macOS and FreeBSD (regression yesterday).
+ * modules/regex (Link): Add $(LIBUNISTRING), $(LIBC32CONV).
+ * modules/regex-tests (Makefile.am): Link test-regex with
+ $(LIBUNISTRING) and $(LIBC32CONV).
+
2026-04-25 Bruno Haible <bruno@clisp.org>
uchar-h tests: Strengthen tests.
<regex.h>
Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
+$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
$(LIBTHREAD)
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
Makefile.am:
TESTS += test-regex
check_PROGRAMS += test-regex
-test_regex_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) @LIBINTL@ $(LIBTHREAD)
+test_regex_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) @LIBINTL@ $(LIBC32CONV) $(LIBTHREAD)