From: Fabrice Fontaine Date: Sun, 4 Apr 2021 14:30:42 +0000 (+0200) Subject: package/libvips: add zlib optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43a9cfd31781777753bc3f8b1a36996d16583e47;p=buildroot.git package/libvips: add zlib optional dependency zlib is an optional dependency which is enabled by default since version 8.4.2 and https://github.com/libvips/libvips/commit/5ab0001ec68a5f61396aecd8d2d7a619b1dbe1fa Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk index 0449751380..5f95fc7f1d 100644 --- a/package/libvips/libvips.mk +++ b/package/libvips/libvips.mk @@ -94,4 +94,11 @@ else LIBVIPS_CONF_OPTS += --without-libexif endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBVIPS_CONF_OPTS += --with-zlib +LIBVIPS_DEPENDENCIES += zlib +else +LIBVIPS_CONF_OPTS += --without-zlib +endif + $(eval $(autotools-package))