|
@@ -243,9 +243,9 @@ endef
|
|
PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND
|
|
PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND
|
|
|
|
|
|
### Use external PCRE if it's available
|
|
### Use external PCRE if it's available
|
|
-ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_PCRE2),y)
|
|
PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
|
|
PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
|
|
-PHP_DEPENDENCIES += pcre
|
|
|
|
|
|
+PHP_DEPENDENCIES += pcre2
|
|
else
|
|
else
|
|
# The bundled pcre library is not configurable through ./configure options,
|
|
# The bundled pcre library is not configurable through ./configure options,
|
|
# and by default is configured to be thread-safe, so it wants pthreads. So
|
|
# and by default is configured to be thread-safe, so it wants pthreads. So
|