diff mbox

gst1-plugins-bad: add missing depends on C++ for the OpenCV plugin

Message ID 1372714474-11674-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit b767aee44395fe5dae4d0b05a67810c7cce855b5
Headers show

Commit Message

Thomas Petazzoni July 1, 2013, 9:34 p.m. UTC
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@free-electrons.com>
---
 package/multimedia/gst1-plugins-bad/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard July 2, 2013, 11:46 a.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

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

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

Committed, thanks.
diff mbox

Patch

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