mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
7948b0c621
commit
30ed378a97
@@ -125,6 +125,7 @@ config BR2_PACKAGE_PHP_EXT_SYSVSHM
|
|||||||
|
|
||||||
config BR2_PACKAGE_PHP_EXT_ZIP
|
config BR2_PACKAGE_PHP_EXT_ZIP
|
||||||
bool "zip"
|
bool "zip"
|
||||||
|
select BR2_PACKAGE_ZLIB
|
||||||
help
|
help
|
||||||
Zip read/write support
|
Zip read/write support
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_SIMPLEXML),y)
|
|||||||
PHP_CONF_OPT += --enable-simplexml
|
PHP_CONF_OPT += --enable-simplexml
|
||||||
endif
|
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_CONF_OPT += --with-zlib=$(STAGING_DIR)/usr
|
||||||
PHP_DEPENDENCIES += zlib
|
PHP_DEPENDENCIES += zlib
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user