[Buildroot] [git commit] package/imagemagick: add optional libzip support

Peter Korsgaard peter at korsgaard.com
Fri Feb 26 23:38:42 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=32479efafe52593aef6e54415354b2b65ea6e010
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/imagemagick/imagemagick.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index bc3040769f..48892fd449 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -103,6 +103,13 @@ else
 IMAGEMAGICK_CONF_OPTS += --without-xml
 endif
 
+ifeq ($(BR2_PACKAGE_LIBZIP),y)
+IMAGEMAGICK_CONF_OPTS += --with-zip
+IMAGEMAGICK_DEPENDENCIES += libzip
+else
+IMAGEMAGICK_CONF_OPTS += --without-zip
+endif
+
 ifeq ($(BR2_PACKAGE_PANGO),y)
 IMAGEMAGICK_CONF_OPTS += --with-pango
 IMAGEMAGICK_DEPENDENCIES += pango
@@ -170,6 +177,7 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
 	--without-raqm \
 	--without-wmf \
 	--without-x \
+	--without-zip \
 	--without-bzlib \
 	--without-fftw \
 	--without-lcms \


More information about the buildroot mailing list