liblinear: requires C++ support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 22 Dec 2014 08:30:44 +0000 (09:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 22 Dec 2014 08:30:44 +0000 (09:30 +0100)
Fixes:

  http://autobuild.buildroot.org/results/1be/1be890ece519ebc0d0ff4f3f31abc06eb0b7356c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/liblinear/Config.in

index 08e8365a77adde09ddeff54d98a656b060315b0a..17c5a74d4a24820ff684dada1a00de088dd78454 100644 (file)
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_LIBLINEAR
        bool "liblinear"
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          liblinear is a linear classifier for data with millions of instances and
          features.
 
          http://www.csie.ntu.edu.tw/~cjlin/liblinear/
+
+comment "liblinear needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP