package/libvips: add zlib optional dependency

zlib is an optional dependency which is enabled by default since version
8.4.2 and
5ab0001ec6

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 2021-04-04 16:30:42 +02:00 committed by Thomas Petazzoni
parent 9fd9f4e675
commit 43a9cfd317

View File

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