libcec: needs threads
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 12 Aug 2013 17:08:33 +0000 (14:08 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 13 Aug 2013 08:19:44 +0000 (10:19 +0200)
Fixes:
http://autobuild.buildroot.net/results/16a/16ad8b64e68477dcd663d07c600fd1be3164df81/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libcec/Config.in

index b1fa03b057362c5b1b99332f2deab7d56892c936..7a6795214475f6bb296ffdecbc6e1fd8394b8887 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBCEC
        bool "libcec"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          libcec allows you in combination with the right hardware to
          control your home theater devices with your TV remote
@@ -8,5 +9,5 @@ config BR2_PACKAGE_LIBCEC
 
          http://libcec.pulse-eight.com
 
-comment "libcec requires C++ support in toolchain"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "libcec requires C++ and threading support in toolchain"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS