diff mbox

[1/2] hplip: needs toolchain with threads support

Message ID 1368138122-5950-1-git-send-email-gilles.talis@gmail.com
State Not Applicable
Headers show

Commit Message

Gilles Talis May 9, 2013, 10:22 p.m. UTC
hplip uses libusb that requires a toolchain with threads support
Fixes:
http://autobuild.buildroot.org/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 package/hplip/Config.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Comments

Peter Korsgaard May 10, 2013, 6:39 p.m. UTC | #1
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> writes:

 Gilles> hplip uses libusb that requires a toolchain with threads support
 Gilles> Fixes:
 Gilles> http://autobuild.buildroot.org/results/12fb9bb8c93c1cc1f93ba8e15558d1630f2e7c3d

Sorry, I've already applied Gustavo's patch fixing the same issue.
diff mbox

Patch

diff --git a/package/hplip/Config.in b/package/hplip/Config.in
index d8a1580..c496513 100644
--- a/package/hplip/Config.in
+++ b/package/hplip/Config.in
@@ -1,6 +1,7 @@ 
 config BR2_PACKAGE_HPLIP
 	bool "hplip"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	depends on BR2_PACKAGE_CUPS
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_JPEG
@@ -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 threads and C++ support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS