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 <juju@cotds.org>
[Peter: drop unneeded ax_cv_check_cl_libcl=no]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 9056908e93
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
cb208416c3
commit
f31498587a
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user