From 9056908e93daae5af08a123e0bc05072c6e6c58e Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Fri, 23 Aug 2019 21:14:17 +0200 Subject: [PATCH] package/imagemagick: explicitly disable opencl Some packages installs libOpenCL without declaring BR2_PACKAGE_PROVIDES_LIBOPENCL (e.g. imx-gpu-viv). ImageMagick will detect the library and will require libtool. Since libtool is not in dependencies, build might fail. To prevent that situation, explicitly disable opencl support for target and host. Signed-off-by: Julien Olivain [Peter: drop unneeded ax_cv_check_cl_libcl=no] Signed-off-by: Peter Korsgaard --- package/imagemagick/imagemagick.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 0bac0b4fc3..eaa291a1bd 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -22,6 +22,7 @@ IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=64 IMAGEMAGICK_CONF_OPTS = \ --program-transform-name='s,,,' \ + --disable-opencl \ --disable-openmp \ --without-djvu \ --without-dps \ @@ -152,6 +153,7 @@ IMAGEMAGICK_CONF_OPTS += --without-bzlib endif HOST_IMAGEMAGICK_CONF_OPTS = \ + --disable-opencl \ --disable-openmp \ --without-djvu \ --without-dps \ -- 2.30.2