[Buildroot] [git commit] clamav: needs C++

Peter Korsgaard peter at korsgaard.com
Mon Jan 28 21:05:15 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=4d85d5038ec0a7fb127cd58a48dfd7113c9c22c4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

clamav needs C++ since bump to version 0.101.1 and
https://github.com/Cisco-Talos/clamav-devel/commit/d39cb6581f3c854476044f069d2393fc44702c36

Fixes:
 - http://autobuild.buildroot.org/results/be14aa571309cda32a5963feed9fd7f220e87fe6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Acked-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/clamav/Config.in | 5 +++--
 1 file 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


More information about the buildroot mailing list