rapidjson: needs C++ support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 19:37:10 +0000 (21:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 19:37:10 +0000 (21:37 +0200)
Fixes:

  http://autobuild.buildroot.net/results/ac989c119e4ea90b8318795fe9cf8c3e9395a354/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rapidjson/Config.in

index b8c8bcf6a68f832f3edfb7aff0330a404d030df0..3367385008807db9af5973883b235e847a5ef0ee 100644 (file)
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_RAPIDJSON
        bool "rapidjson"
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          A fast JSON parser/generator for C++ with both SAX/DOM style API.
 
          http://rapidjson.org/
+
+comment "rapidjson needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP