From fa693c37dce81a00b8e1f3aef855ee5d05489602 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 15 Jun 2016 09:34:23 -0300 Subject: [PATCH] imagemagick: add explicit lzma (xz) support Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/imagemagick/imagemagick.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2