From 32479efafe52593aef6e54415354b2b65ea6e010 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Sat, 20 Feb 2021 00:02:53 +0100 Subject: [PATCH] package/imagemagick: add optional libzip support Signed-off-by: Peter Seiderer Signed-off-by: Peter Korsgaard --- 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 \ -- 2.30.2