summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-05-10 00:14:40 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-10 18:37:40 (GMT)
commitf787cd2085daf9208e788813cb21da70d53e9c4d (patch)
treed0a24eba77a73e5e88e9dc7cb6aab322612e29ca
parent92651931e72afad0f829d651ad3d0286b5a14e06 (diff)
downloadbuildroot-f787cd2085daf9208e788813cb21da70d53e9c4d.tar.gz
buildroot-f787cd2085daf9208e788813cb21da70d53e9c4d.tar.bz2
hplip: needs threads
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>
-rw-r--r--package/hplip/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/hplip/Config.in b/package/hplip/Config.in
index d8a1580..c67a8b2 100644
--- a/package/hplip/Config.in
+++ b/package/hplip/Config.in
@@ -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