package/php-xdebug: add zlib optional dependency

zlib is an optional dependency (enabled by default) since bump to
version 3.2.0 in commit 8280400fba and
3954e5cd9e

Fixes: 8280400fba

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4b7aeee28e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2024-03-30 10:03:35 +01:00 committed by Peter Korsgaard
parent ba45833429
commit 71e6b2765b

View File

@ -25,4 +25,11 @@ endef
PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE
ifeq ($(BR2_PACKAGE_ZLIB),y)
PHP_XDEBUG_CONF_OPTS += --with-xdebug-compression
PHP_XDEBUG_DEPENDENCIES += zlib
else
PHP_XDEBUG_CONF_OPTS += --without-xdebug-compression
endif
$(eval $(autotools-package))