Browse Source

cppcms: icu support needs wchar + threads

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 11 years ago
parent
commit
28f0d896ae
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/cppcms/Config.in

+ 7 - 0
package/cppcms/Config.in

@@ -24,11 +24,18 @@ config BR2_PACKAGE_CPPCMS_ICU
 	bool "enable icu support"
 	depends on !BR2_arc # icu -> atomic builtins
 	depends on !BR2_BINFMT_FLAT # icu
+	depends on BR2_USE_WCHAR # icu
+	depends on BR2_TOOLCHAIN_HAS_THREADS # icu
 	select BR2_PACKAGE_ICU
 	help
 	  Using ICU allows advanced localization features into CppCMS,
 	  in another hand ICU is heavier than iconv.
 
+comment "icu support needs a toolchain w/ wchar, threads"
+	depends on !BR2_arc
+	depends on !BR2_BINFMT_FLAT
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 endif
 
 comment "cppcms needs a toolchain w/ C++"