package/lrzip: needs C++
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 16 Dec 2019 08:59:19 +0000 (09:59 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 18 Dec 2019 09:13:47 +0000 (10:13 +0100)
Fixes:
http://autobuild.buildroot.net/results/e40/e40653aa895bb47d20ad237c8a5ae3f6b76f3f67/

libzpaq is written in C++ (and unconditionally built), so depend on C++
support.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lrzip/Config.in

index 92540a503642fc144c9682ff231ae85f0613b353..885b84dbb038df661667a6e742574b39fdc507ad 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LRZIP
        depends on BR2_USE_MMU # fork()
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_LZO
        select BR2_PACKAGE_BZIP2
@@ -17,6 +18,7 @@ config BR2_PACKAGE_LRZIP
 
          https://github.com/ckolivas/lrzip
 
-comment "lrzip needs a toolchain w/ wchar, threads"
+comment "lrzip needs a toolchain w/ wchar, threads, C++"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_INSTALL_LIBSTDCPP