mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 14:01:15 -03:00
configure: fix CXXFLAGS with system pcre2
cleanups in configure meant that a number of arguably spurious spaces were dropped from the CXXFLAGS, which produced an error without the below.
This commit is contained in:
@@ -544,7 +544,7 @@ if test "x$included_pcre2" != "xyes"; then
|
||||
XLIBS="$LIBS"
|
||||
LIBS="$LIBS "`$PCRE2_CONFIG --libs$WCHAR_T_BITS 2>/dev/null`
|
||||
XCXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS"`$PCRE2_CONFIG --cflags`
|
||||
CXXFLAGS="$CXXFLAGS" `$PCRE2_CONFIG --cflags`
|
||||
|
||||
# cheat a bit here. the exact library is determined by $WCHAR_T_BITS,
|
||||
# and so AC_CHECK_LIB won't work (can't use a variable as library name)
|
||||
|
||||
Reference in New Issue
Block a user