Fix linking with builtin regex library
Use the value of wxUSE_REGEX in configure, not its name.
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -38662,9 +38662,9 @@ if test "$wxUSE_GUI" = "yes"; then
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "wxUSE_REGEX" in
|
||||
case "$wxUSE_REGEX" in
|
||||
builtin)
|
||||
wxconfig_3rdparty="pcre $wxconfig_3rdparty"
|
||||
wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
|
||||
;;
|
||||
sys)
|
||||
WXCONFIG_LIBS="$PCRE_LINK $WXCONFIG_LIBS"
|
||||
|
@@ -8260,9 +8260,9 @@ if test "$wxUSE_GUI" = "yes"; then
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "wxUSE_REGEX" in
|
||||
case "$wxUSE_REGEX" in
|
||||
builtin)
|
||||
wxconfig_3rdparty="pcre $wxconfig_3rdparty"
|
||||
wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
|
||||
;;
|
||||
sys)
|
||||
WXCONFIG_LIBS="$PCRE_LINK $WXCONFIG_LIBS"
|
||||
|
Reference in New Issue
Block a user