summaryrefslogtreecommitdiffstats
path: root/package/protobuf-c
diff options
context:
space:
mode:
Diffstat (limited to 'package/protobuf-c')
-rw-r--r--package/protobuf-c/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
index 9aff6e2895..17cc8f1d32 100644
--- a/package/protobuf-c/Config.in
+++ b/package/protobuf-c/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_PROTOBUF_C
bool "protobuf-c"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
select BR2_PACKAGE_PROTOBUF
help
Code generator and runtime libraries to use Protocol Buffers
@@ -8,5 +9,5 @@ config BR2_PACKAGE_PROTOBUF_C
http://code.google.com/p/protobuf-c/
-comment "protobuf-c requires a toolchain with C++ support enabled"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "protobuf-c requires a toolchain with C++ and thread support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud