ddrescue: needs c++ compiler
authorPeter Seiderer <ps.report@gmx.net>
Fri, 10 Feb 2017 20:21:12 +0000 (21:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Feb 2017 14:15:13 +0000 (15:15 +0100)
Fixes [1].

[1] http://autobuild.buildroot.net/results/0af569ad06efa36e8e1ae45acd1facfd98b86f20

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ddrescue/Config.in

index 7ec87ced7b9a1c73e7c713be5208638f77673796..2ec3e7e30308d10313b835e12ff8194e8682477a 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_DDRESCUE
        bool "ddrescue"
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          GNU ddrescue is a data recovery tool. It copies data from one file
          or block device (hard disc, cdrom, etc) to another, trying to
          rescue the good parts first in case of read errors.
 
          http://www.gnu.org/software/ddrescue/ddrescue.html
+
+comment "ddrescue needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP