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>
This commit is contained in:
Fabrice Fontaine 2024-03-30 10:03:35 +01:00 committed by Thomas Petazzoni
parent 98ee9f8b49
commit 4b7aeee28e

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))