hplip: needs threads
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 10 May 2013 00:14:40 +0000 (00:14 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 10 May 2013 18:37:40 +0000 (20:37 +0200)
Hplip needs threads because libusb needs them. Fixes:
http://autobuild.buildroot.net/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/hplip/Config.in

index d8a1580e39c946211d35282b5a0d9bdd4392368c..c67a8b24c989ea9deb19eeb54b3a552e22bcaeb4 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_HPLIP
        bool "hplip"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_PACKAGE_CUPS
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_JPEG
        help
@@ -14,5 +15,5 @@ config BR2_PACKAGE_HPLIP
 
          http://hplipopensource.com/
 
-comment "hplip requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "hplip requires a toolchain with C++ and thread support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS