diff mbox

[1/2] protobuf: needs thread support

Message ID 1381389798.8952.0.camel@phoenix
State Accepted
Headers show

Commit Message

Axel Lin Oct. 10, 2013, 7:23 a.m. UTC
Fix:
http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/protobuf/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in
index b044ef0..92e85ba 100644
--- a/package/protobuf/Config.in
+++ b/package/protobuf/Config.in
@@ -1,11 +1,12 @@ 
 config BR2_PACKAGE_PROTOBUF
 	bool "protobuf"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Protocol buffers are Google's language-neutral, platform-neutral,
 	  extensible mechanism for serializing structured data.
 
 	  http://code.google.com/p/protobuf/
 
-comment "protobuf requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "protobuf requires a toolchain with C++ and thread support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS