From: Anatol Belski Date: Tue, 24 Apr 2018 15:06:04 +0000 (+0200) Subject: Fix lib names for build with external libpcre2 X-Git-Tag: php-7.3.0alpha1~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e107a03419e4e7edb61948495d42ce446cd77375;p=php Fix lib names for build with external libpcre2 --- diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index e4d2417033..c3de88deb8 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -24,11 +24,11 @@ PHP_ARG_WITH(pcre-jit,,[ --with-pcre-jit Enable PCRE JIT functionality AC_MSG_CHECKING([for PCRE library location]) for j in $PHP_PCRE_REGEX $PHP_PCRE_REGEX/$PHP_LIBDIR; do - test -f $j/libpcre2.a || test -f $j/libpcre2.$SHLIB_SUFFIX_NAME && PCRE_LIBDIR=$j + test -f $j/libpcre2-8.a || test -f $j/libpcre2-8.$SHLIB_SUFFIX_NAME && PCRE_LIBDIR=$j done if test -z "$PCRE_LIBDIR" ; then - AC_MSG_ERROR([Could not find libpcre2.(a|$SHLIB_SUFFIX_NAME) in $PHP_PCRE_REGEX]) + AC_MSG_ERROR([Could not find libpcre2-8.(a|$SHLIB_SUFFIX_NAME) in $PHP_PCRE_REGEX]) fi AC_MSG_RESULT([$PCRE_LIBDIR])