clamav: needs C++
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 28 Jan 2019 18:47:06 +0000 (19:47 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 28 Jan 2019 21:05:15 +0000 (22:05 +0100)
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@gmail.com>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/clamav/Config.in

index bc934ea45223c334e4d5538e8f624f9c0f894f9b..56bf0af38cbf44dd4b8e621ce62e023638132771 100644 (file)
@@ -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