Browse Source

libcec: needs wchar

Fixes:
http://autobuild.buildroot.net/results/dae/dae6ec4f75b2aeb793b88567f48d94b07a6a59da/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias 12 years ago
parent
commit
3d2001f287
1 changed files with 4 additions and 2 deletions
  1. 4 2
      package/libcec/Config.in

+ 4 - 2
package/libcec/Config.in

@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBCEC
 	bool "libcec"
 	bool "libcec"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_WCHAR
 	help
 	help
 	  libcec allows you in combination with the right hardware to
 	  libcec allows you in combination with the right hardware to
 	  control your home theater devices with your TV remote
 	  control your home theater devices with your TV remote
@@ -9,5 +10,6 @@ config BR2_PACKAGE_LIBCEC
 
 
 	  http://libcec.pulse-eight.com
 	  http://libcec.pulse-eight.com
 
 
-comment "libcec requires C++ and threading support in toolchain"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libcec requires C++, WCHAR and threading support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_USE_WCHAR