From a4a65f16f654852ec0404373b49d88b8be5bb359 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Aug 2021 18:10:20 +0200 Subject: [PATCH] Fix linking with builtin regex library Use the value of wxUSE_REGEX in configure, not its name. --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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"