diff -r b906f6b98e1c ext/filter/config.m4 --- a/ext/filter/config.m4 Tue Dec 11 19:35:51 2018 +0000 +++ b/ext/filter/config.m4 Tue Dec 11 19:37:23 2018 +0000 @@ -9,10 +9,7 @@ if test "$PHP_FILTER" != "no"; then dnl Check if configure is the PHP core configure - if test -n "$PHP_VERSION"; then - dnl This extension can not be build as shared when in PHP core - ext_shared=no - else + if test -z "$PHP_VERSION"; then dnl This is PECL build, check if bundled PCRE library is used old_CPPFLAGS=$CPPFLAGS CPPFLAGS=$INCLUDES