]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
imagemagick: add explicit lzma (xz) support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 15 Jun 2016 12:34:23 +0000 (09:34 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 15 Jun 2016 21:11:54 +0000 (23:11 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/imagemagick/imagemagick.mk

index 641eafbb3edb99179ef959682a82d71c5701bf1d..5ec917405278b275dbb4d8d2c71a9263356c529f 100644 (file)
@@ -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