aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/clamav/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/clamav/Config.in b/package/clamav/Config.in
index 56bf0af38c..2017011b67 100644
--- a/package/clamav/Config.in
+++ b/package/clamav/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_CLAMAV
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_WCHAR
select BR2_PACKAGE_LIBTOOL
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
@@ -12,6 +13,7 @@ config BR2_PACKAGE_CLAMAV
http://www.clamav.net
-comment "clamav needs a toolchain w/ C++, threads"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "clamav needs a toolchain w/ C++, threads, wchar"
+ depends on !BR2_INSTALL_LIBSTDCPP \
+ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
depends on BR2_USE_MMU