protobuf: needs thread support
authorAxel Lin <axel.lin@ingics.com>
Thu, 10 Oct 2013 07:23:18 +0000 (15:23 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Oct 2013 20:41:27 +0000 (22:41 +0200)
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>
package/protobuf-c/Config.in
package/protobuf/Config.in

index 9aff6e2895b55f725695143ab095ba5651c29998..17cc8f1d32fee7097b73cb2db88ddf85350d5908 100644 (file)
@@ -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
index b044ef03cf99fe109f2ac6edc0ccd1d59c49baf6..92e85baa01b803e380680392807ae6797ae005d5 100644 (file)
@@ -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