[Buildroot] [PATCH] gst1-plugins-bad: add missing depends on C++ for the OpenCV plugin

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 1 21:34:34 UTC 2013


OpenCV requires C++ support, so we shouldn't select it without
depending on C++ support.

Fixes:
http://autobuild.buildroot.org/results/71f/71f2d8a267a0d159521407a9a2330e68d756c4b3/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/multimedia/gst1-plugins-bad/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/multimedia/gst1-plugins-bad/Config.in b/package/multimedia/gst1-plugins-bad/Config.in
index 7eb531a..98550e0 100644
--- a/package/multimedia/gst1-plugins-bad/Config.in
+++ b/package/multimedia/gst1-plugins-bad/Config.in
@@ -400,10 +400,14 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
 	bool "opencv"
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_OPENCV
 	help
 	  GStreamer OpenCV Plugins
 
+comment "opencv plugin requires a toolchain with C++ support"
+	depends on !BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
 	bool "opus"
 	select BR2_PACKAGE_OPUS
-- 
1.8.1.2



More information about the buildroot mailing list