cppcms: icu support needs wchar + threads

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-04-09 00:47:06 +02:00
parent 48c3eefca6
commit 28f0d896ae

View File

@ -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++"