summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/imagemagick/imagemagick.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 641eafbb3e..5ec9174052 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -106,6 +106,13 @@ else
IMAGEMAGICK_CONF_OPTS += --without-tiff
endif
+ifeq ($(BR2_PACKAGE_XZ),y)
+IMAGEMAGICK_CONF_OPTS += --with-lzma
+IMAGEMAGICK_DEPENDENCIES += xz
+else
+IMAGEMAGICK_CONF_OPTS += --without-lzma
+endif
+
ifeq ($(BR2_PACKAGE_FFTW),y)
# configure script misdetects these leading to build errors
IMAGEMAGICK_CONF_ENV += ac_cv_func_creal=yes ac_cv_func_cimag=yes
OpenPOWER on IntegriCloud