directfb: 1.6.x needs C++ support in toolchain
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 13:16:00 +0000 (15:16 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 13:16:00 +0000 (15:16 +0200)
Fixes http://autobuild.buildroot.net/results/b36f5492401a8bba8ed04614decfbf4152464740/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/directfb/Config.in
package/multimedia/gst-plugins-bad/Config.in

index 23f4947376aa82b2af309bab3b03083afd4e7317..b9ff5f9a0888712abd9eb634813286825f040378 100644 (file)
@@ -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
index 370259bbfa3c6f44e3ad0b5cbf638b38d45171ca..2271036c8400f627594fd53e1c26cc7f21932535 100644 (file)
@@ -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"