protobuf: needs thread support

Fix:
http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Axel Lin 2013-10-10 15:23:18 +08:00 committed by Peter Korsgaard
parent 92af118d82
commit 020775b33f
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_PROTOBUF_C config BR2_PACKAGE_PROTOBUF_C
bool "protobuf-c" bool "protobuf-c"
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
select BR2_PACKAGE_PROTOBUF select BR2_PACKAGE_PROTOBUF
help help
Code generator and runtime libraries to use Protocol Buffers 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/ http://code.google.com/p/protobuf-c/
comment "protobuf-c requires a toolchain with C++ support enabled" comment "protobuf-c requires a toolchain with C++ and thread support"
depends on !BR2_INSTALL_LIBSTDCPP depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

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