aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/clamav/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/clamav/Config.in b/package/clamav/Config.in
index bc934ea452..56bf0af38c 100644
--- a/package/clamav/Config.in
+++ b/package/clamav/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_CLAMAV
bool "clamav"
+ depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBTOOL
@@ -11,6 +12,6 @@ config BR2_PACKAGE_CLAMAV
http://www.clamav.net
-comment "clamav needs a toolchain w/ threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "clamav needs a toolchain w/ C++, threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU