[Buildroot] [git commit branch/2021.02.x] package/libvips: add zlib optional dependency

Peter Korsgaard peter at korsgaard.com
Sun Apr 4 19:57:00 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=24bf52fdc75266393d53ecf5fd93f5503600815a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

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 <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 43a9cfd31781777753bc3f8b1a36996d16583e47)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libvips/libvips.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
index 91d8a814c4..12ffac944e 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -96,4 +96,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))


More information about the buildroot mailing list