Message ID | 20240330090336.567660-2-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2,1/3] package/php-xdebug: drop unrecognized variable | expand |
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > zlib is an optional dependency (enabled by default) since bump to > version 3.2.0 in commit 8280400fbadde09e51ccff312d7a4ef6a386f589 and > https://github.com/xdebug/xdebug/commit/3954e5cd9e48eec0a8a2a0c6a2fc120bbe562656 > Fixes: 8280400fbadde09e51ccff312d7a4ef6a386f589 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed to 2024.02.x, thanks.
diff --git a/package/php-xdebug/php-xdebug.mk b/package/php-xdebug/php-xdebug.mk index 62ef3fa997..3bc197e556 100644 --- a/package/php-xdebug/php-xdebug.mk +++ b/package/php-xdebug/php-xdebug.mk @@ -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))
zlib is an optional dependency (enabled by default) since bump to version 3.2.0 in commit 8280400fbadde09e51ccff312d7a4ef6a386f589 and https://github.com/xdebug/xdebug/commit/3954e5cd9e48eec0a8a2a0c6a2fc120bbe562656 Fixes: 8280400fbadde09e51ccff312d7a4ef6a386f589 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/php-xdebug/php-xdebug.mk | 7 +++++++ 1 file changed, 7 insertions(+)