summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/directfb/Config.in5
-rw-r--r--package/multimedia/gst-plugins-bad/Config.in1
2 files changed, 4 insertions, 2 deletions
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index 23f494737..b9ff5f9a0 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_DIRECTFB
bool "directfb"
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_ZLIB
help
@@ -120,5 +121,5 @@ config BR2_PACKAGE_DIRECTFB_TESTS
endif # BR2_PACKAGE_DIRECTFB
-comment "directfb needs a toolchain with thread support"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "directfb needs a toolchain with C++ and thread support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
diff --git a/package/multimedia/gst-plugins-bad/Config.in b/package/multimedia/gst-plugins-bad/Config.in
index 370259bbf..2271036c8 100644
--- a/package/multimedia/gst-plugins-bad/Config.in
+++ b/package/multimedia/gst-plugins-bad/Config.in
@@ -263,6 +263,7 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DIRECTFB
bool "directfb"
select BR2_PACKAGE_DIRECTFB
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DVB
bool "dvb"