From d6667f31416295e53de67482eed81b988d4c7e99 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Sat, 20 Feb 2021 00:02:54 +0100 Subject: [PATCH] package/imagemagick: add optional zstd 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 48892fd449..5b4ba63c85 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -110,6 +110,13 @@ else IMAGEMAGICK_CONF_OPTS += --without-zip endif +ifeq ($(BR2_PACKAGE_ZSTD),y) +IMAGEMAGICK_CONF_OPTS += --with-zstd +IMAGEMAGICK_DEPENDENCIES += zstd +else +IMAGEMAGICK_CONF_OPTS += --without-zstd +endif + ifeq ($(BR2_PACKAGE_PANGO),y) IMAGEMAGICK_CONF_OPTS += --with-pango IMAGEMAGICK_DEPENDENCIES += pango @@ -178,6 +185,7 @@ HOST_IMAGEMAGICK_CONF_OPTS = \ --without-wmf \ --without-x \ --without-zip \ + --without-zstd \ --without-bzlib \ --without-fftw \ --without-lcms \ -- 2.30.2