Revert "package/php: fix building pcre extension"
This reverts commit745f884e41
. This was the wrong fix: issue is that php moves from pcre to pcre2 since version 7.3.0 anda5bc5aed71
This patch will always disable external pcre2 support and raise a build failure when toolchaine does not have pthread Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
ca70c77a88
commit
392a50b2e3
@ -244,7 +244,7 @@ PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND
|
||||
|
||||
### Use external PCRE if it's available
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
PHP_CONF_OPTS += --with-pcre-regex
|
||||
PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += pcre
|
||||
else
|
||||
# The bundled pcre library is not configurable through ./configure options,
|
||||
|
Loading…
Reference in New Issue
Block a user