[Buildroot] [git commit] hplip: needs threads
Peter Korsgaard
jacmet at sunsite.dk
Fri May 10 18:37:40 UTC 2013
commit: http://git.buildroot.net/buildroot/commit/?id=f787cd2085daf9208e788813cb21da70d53e9c4d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Hplip needs threads because libusb needs them. Fixes:
http://autobuild.buildroot.net/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d/
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
package/hplip/Config.in | 5 +++--
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
More information about the buildroot
mailing list