[Buildroot] [git commit] benejson: needs c++

Peter Korsgaard peter at korsgaard.com
Mon Jan 26 16:16:24 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=af503843f33f0f34e4325ba6d18d002667f94b7e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

pull.cpp doesn't look like vanilla C
Fixes local tests (no autobuilder tests to show off atm).

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/benejson/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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


More information about the buildroot mailing list