浏览代码

cppcms: icu support needs wchar + threads

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 11 年之前
父节点
当前提交
28f0d896ae
共有 1 个文件被更改,包括 7 次插入0 次删除
  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++"