diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-11-25 12:49:04 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-11-26 13:55:11 +0100 |
commit | 30ed378a978e322e5b0243409c84b550f945f13a (patch) | |
tree | 3082c3d5caa15aac1637cc88982b3d9289456aad /package/php/php.mk | |
parent | 7948b0c621adab123f7585a32c0cf6810f83ca91 (diff) |
php: fix build breakage
The zip extension requires zlib, so select it.
[Peter: Only select zlib, not php zlib extension]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r-- | package/php/php.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk index a1dde5172..7f848b178 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -70,7 +70,7 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_SIMPLEXML),y) PHP_CONF_OPT += --enable-simplexml endif -ifeq ($(BR2_PACKAGE_PHP_EXT_ZLIB),y) +ifneq ($(BR2_PACKAGE_PHP_EXT_ZLIB)$(BR2_PACKAGE_PHP_EXT_ZIP),) PHP_CONF_OPT += --with-zlib=$(STAGING_DIR)/usr PHP_DEPENDENCIES += zlib endif |