package/clamav: needs wchar
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 9 Feb 2019 16:28:14 +0000 (17:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 10 Feb 2019 10:25:11 +0000 (11:25 +0100)
Fixes
http://autobuild.buildroot.net/results/77c/77cd536a0fab78eabe27e055d28db2da354008d7/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/clamav/Config.in

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