From: Gustavo Zacarias Date: Tue, 8 Jul 2014 11:00:48 +0000 (-0300) Subject: php: add option for phar builtin extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d3696bd174b534ea07b633e7d74713779f057c8;p=buildroot.git php: add option for phar builtin extension Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/php/Config.ext b/package/php/Config.ext index abf4993efb..ff9a6ad685 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -31,6 +31,11 @@ config BR2_PACKAGE_PHP_EXT_BZIP2 help bzip2 read/write support +config BR2_PACKAGE_PHP_EXT_PHAR + bool "phar" + help + PHP Archive support + config BR2_PACKAGE_PHP_EXT_ZIP bool "zip" select BR2_PACKAGE_ZLIB diff --git a/package/php/php.mk b/package/php/php.mk index 8ac5d86292..4d3aa7d18d 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -73,7 +73,8 @@ PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \ $(if $(BR2_PACKAGE_PHP_EXT_FILTER),--enable-filter) \ $(if $(BR2_PACKAGE_PHP_EXT_CALENDAR),--enable-calendar) \ $(if $(BR2_PACKAGE_PHP_EXT_FILEINFO),--enable-fileinfo) \ - $(if $(BR2_PACKAGE_PHP_EXT_BCMATH),--enable-bcmath) + $(if $(BR2_PACKAGE_PHP_EXT_BCMATH),--enable-bcmath) \ + $(if $(BR2_PACKAGE_PHP_EXT_PHAR),--enable-phar) ifeq ($(BR2_PACKAGE_PHP_EXT_OPENSSL),y) PHP_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr