diff --git a/configure b/configure index e76a56a6e1..acf04e1cee 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.in b/configure.in index 12cae2fd01..4f16ae1f57 100644 --- a/configure.in +++ b/configure.in @@ -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"