package/php: fix build without zlib
Build will fail if zlib is not found and mysqlnd compression support
is not disabled since version 7.4.1 and
ee4295b4ce
Fixes:
- http://autobuild.buildroot.org/results/9496d81437dba55d22a03762dcfe60d632115ab5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
1b887cfc69
commit
57bbd39d61
@ -174,6 +174,8 @@ endif
|
||||
ifneq ($(BR2_PACKAGE_PHP_EXT_ZLIB)$(BR2_PACKAGE_PHP_EXT_ZIP),)
|
||||
PHP_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += zlib
|
||||
else
|
||||
PHP_CONF_OPTS += --disable-mysqlnd_compression_support
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_GETTEXT),y)
|
||||
|
Loading…
Reference in New Issue
Block a user