cppcms: icu support needs wchar + threads
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Apr 2014 22:47:06 +0000 (00:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Apr 2014 22:47:06 +0000 (00:47 +0200)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cppcms/Config.in

index 2b99b521c88fd5b1fc35f268f1f6a0512a03efd3..418146a7fcf04c0d5c57f160f29c2f97f7ad7599 100644 (file)
@@ -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++"