package/kvazaar: needs C++ compiler
authorRomain Naour <romain.naour@smile.fr>
Tue, 4 Jul 2017 23:08:56 +0000 (01:08 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:18:24 +0000 (01:18 +0200)
Even if there is only one CPP file src/extras/crypto.cpp which should
be disabled by --without-cryptopp, kvazaar fail to build the shared
library libkvazaar.so when no C++ compiler is available.

checking whether we are using the GNU C++ compiler... no

Fixes:
[microblazel] http://autobuild.buildroot.net/results/5d1/5d140ed95e292f73b6770a5e5be717df844e4830
[arm] http://autobuild.buildroot.net/results/c55/c55b973502b9b88643ae9fca11447b547148275d

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kvazaar/Config.in

index 06ab9ac0c241baa659fe19ebef3e636009c39184..de2c6c9d87cb6a72d281df419bbd40fb4d2c0f8e 100644 (file)
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_KVAZAAR
        bool "kvazaar"
+       depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          An open-source HEVC encoder licensed under LGPLv2.1
 
          https://github.com/ultravideo/kvazaar
 
-comment "kvazaar needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "kvazaar needs a toolchain w/ C++, threads"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS