summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-06-15 09:34:23 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-15 23:11:54 +0200
commitfa693c37dce81a00b8e1f3aef855ee5d05489602 (patch)
tree2124ca64a7741a96f2c92d5e3a34ea7c76ccce2f /package
parentfa23075573790794ce7087666b864d38b85d1859 (diff)
downloadbuildroot-fa693c37dce81a00b8e1f3aef855ee5d05489602.tar.gz
buildroot-fa693c37dce81a00b8e1f3aef855ee5d05489602.zip
imagemagick: add explicit lzma (xz) support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-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