Kaynağa Gözat

cppcms: icu support needs wchar + threads

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 11 yıl önce
ebeveyn
işleme
28f0d896ae
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  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"
 	bool "enable icu support"
 	depends on !BR2_arc # icu -> atomic builtins
 	depends on !BR2_arc # icu -> atomic builtins
 	depends on !BR2_BINFMT_FLAT # icu
 	depends on !BR2_BINFMT_FLAT # icu
+	depends on BR2_USE_WCHAR # icu
+	depends on BR2_TOOLCHAIN_HAS_THREADS # icu
 	select BR2_PACKAGE_ICU
 	select BR2_PACKAGE_ICU
 	help
 	help
 	  Using ICU allows advanced localization features into CppCMS,
 	  Using ICU allows advanced localization features into CppCMS,
 	  in another hand ICU is heavier than iconv.
 	  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
 endif
 
 
 comment "cppcms needs a toolchain w/ C++"
 comment "cppcms needs a toolchain w/ C++"