aircrack-ng: requires C++
authorBaruch Siach <baruch@tkos.co.il>
Sun, 30 Apr 2017 18:33:18 +0000 (21:33 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 30 Apr 2017 19:02:47 +0000 (21:02 +0200)
Fixes:
http://autobuild.buildroot.net/results/9b1/9b1cba480102746389e80b58c0e327b68a235a29/
http://autobuild.buildroot.net/results/f65/f65de186324e6c3cd689540a22fa46ae89afc8c8/
http://autobuild.buildroot.net/results/e02/e02e832a49972ba464f7749cb89d2b20b8df4484/

Cc: Laurent Cans <laurent.cans@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/aircrack-ng/Config.in

index b6572dc986c7ea6a1148a06774b6ee831addd35f..2164ad40703fa9d00ee559ccc28b12f54e5f25b7 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_AIRCRACK_NG
        bool "aircrack-ng"
        depends on BR2_USE_MMU # uses fork()
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_INSTALL_LIBSTDCPP
        # libnl has issues when linking statically
        # they need fixing in libnl itself
        select BR2_PACKAGE_LIBNL if !BR2_STATIC_LIBS
@@ -15,6 +16,6 @@ config BR2_PACKAGE_AIRCRACK_NG
 
          http://www.aircrack-ng.org/
 
-comment "aircrack-ng needs a toolchain w/ threads"
+comment "aircrack-ng needs a toolchain w/ threads, C++"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP