diff mbox

[2/2] benejson: needs c++

Message ID 1422281859-4003-2-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit af503843f33f0f34e4325ba6d18d002667f94b7e
Headers show

Commit Message

Gustavo Zacarias Jan. 26, 2015, 2:17 p.m. UTC
pull.cpp doesn't look like vanilla C
Fixes local tests (no autobuilder tests to show off atm).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/benejson/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/package/benejson/Config.in b/package/benejson/Config.in
index 4e8ee2c..cb86d67 100644
--- a/package/benejson/Config.in
+++ b/package/benejson/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_BENEJSON
 	bool "benejson"
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  benejson is a buffering SAX-style JSON parser library.
 	  The library package contains 3 major components:
@@ -9,3 +10,6 @@  config BR2_PACKAGE_BENEJSON
 	  - Core: The parsing core with minimal dependencies
 
 	  https://codehero.github.io/benejson/
+
+comment "benejson needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP