Skip to contentSkip to conversation

hplip: needs threads

PATCH New Gustavo Zacarias 2 participants 2 messages May 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hplip: needs threads

Hplip needs threads because libusb needs them. Fixes:
http://autobuild.buildroot.net/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d/

---
 package/hplip/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/hplip/Config.in +3 -2
index d8a1580..c67a8b2 100644
@@ -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
Signature · 1 line
1.8.1.5