2
1
Эх сурвалжийг харах

imagemagick: needs thread support

The no thread support in imagemagick is broken since the last
bump. Since supporting non-threaded configurations is not that
important, let's simply make imagemagick depend on thread support.

Fixes:

  http://autobuild.buildroot.org/results/4e6/4e6d0bbe120579ab4a54960ee794e8cf64b99e80/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 10 жил өмнө
parent
commit
0319d62762

+ 5 - 0
package/imagemagick/Config.in

@@ -1,6 +1,7 @@
 config BR2_PACKAGE_IMAGEMAGICK
 	bool "imagemagick"
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  ImageMagick(R) is a software suite to create, edit, and compose
 	  bitmap images. It can read, convert and write images in a variety of
@@ -11,3 +12,7 @@ config BR2_PACKAGE_IMAGEMAGICK
 	  lines, polygons, ellipses and Bézier curves.
 
 	  http://www.imagemagick.org/
+
+comment "imagemagick needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

+ 6 - 0
package/php-imagick/Config.in

@@ -2,8 +2,14 @@ config BR2_PACKAGE_PHP_IMAGICK
 	bool "php-imagick"
 	depends on BR2_PACKAGE_PHP
 	depends on BR2_USE_MMU # imagemagick
+	depends on BR2_TOOLCHAIN_HAS_THREADS # imagemagick
 	select BR2_PACKAGE_IMAGEMAGICK
 	help
 	  PHP wrapper to the ImageMagick library.
 
 	  http://pecl.php.net/package/imagick
+
+comment "php-imagemagick needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_PHP
+	depends on !BR2_TOOLCHAIN_HAS_THREADS