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
|
esac
|
||||||
fi
|
fi
|
||||||
case "wxUSE_REGEX" in
|
case "$wxUSE_REGEX" in
|
||||||
builtin)
|
builtin)
|
||||||
wxconfig_3rdparty="pcre $wxconfig_3rdparty"
|
wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
|
||||||
;;
|
;;
|
||||||
sys)
|
sys)
|
||||||
WXCONFIG_LIBS="$PCRE_LINK $WXCONFIG_LIBS"
|
WXCONFIG_LIBS="$PCRE_LINK $WXCONFIG_LIBS"
|
||||||
|
@@ -8260,9 +8260,9 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
case "wxUSE_REGEX" in
|
case "$wxUSE_REGEX" in
|
||||||
builtin)
|
builtin)
|
||||||
wxconfig_3rdparty="pcre $wxconfig_3rdparty"
|
wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
|
||||||
;;
|
;;
|
||||||
sys)
|
sys)
|
||||||
WXCONFIG_LIBS="$PCRE_LINK $WXCONFIG_LIBS"
|
WXCONFIG_LIBS="$PCRE_LINK $WXCONFIG_LIBS"
|
||||||
|
Reference in New Issue
Block a user