mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
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).
This commit is contained in:
@@ -70,7 +70,9 @@ Include:
|
||||
<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
|
||||
|
||||
|
||||
@@ -14,4 +14,4 @@ AC_CHECK_DECLS_ONCE([alarm])
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user