summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/php/php.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index bc3794af88..6e0e216ea0 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -301,6 +301,9 @@ define PHP_INSTALL_FIXUP
$(TARGET_DIR)/etc/php.ini
$(SED) 's%;date.timezone =.*%date.timezone = $(PHP_LOCALTIME)%' \
$(TARGET_DIR)/etc/php.ini
+ $(if $(BR2_PACKAGE_PHP_EXT_OPCACHE),
+ $(SED) '/;extension=php_xsl.dll/azend_extension=opcache.so' \
+ $(TARGET_DIR)/etc/php.ini)
endef
PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FIXUP
OpenPOWER on IntegriCloud