buildrootschalter/package/aircrack-ng
Yann E. MORIN d26d6e63e0 package/aircrack-ng: fix static build
Two fixes in one:

  - openssl's libcrypto needs -lz, but because aircrack-ng does not use
    pkg-config, it misses this dependency. The proper fix would be to
    use pkg-config, like is done for pcre with patch
    0001-Makefile-use-pkg-config-to-find-libpcre-it-s-more-cros.patch
    but adding -lz is much easier.

  - sqlite needs -lpthread, so -lpthread must be added _after_ -lsqlite,
    but we currently add it before. So, force -lpthread after -lsqlite
    when we are doing a static build.

Fixes:
    http://autobuild.buildroot.net/results/1ea/1ea877851e9d2aeeaf9d320bef12321ec2925b5b/
    http://autobuild.buildroot.net/results/cdf/cdf0203fc99d5f7e41e508f6d9edb78a0f0ea732/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-16 22:43:35 +01:00
..
0001-Makefile-use-pkg-config-to-find-libpcre-it-s-more-cros.patch aircrack-ng: security bump to version 1.2-rc1 2014-11-11 22:39:11 +01:00
0002-Optionally-use-LIBPCAP-for-required-libpcap-libraries.patch aircrack-ng: security bump to version 1.2-rc1 2014-11-11 22:39:11 +01:00
Config.in aircrack-ng: security bump to version 1.2-rc1 2014-11-11 22:39:11 +01:00
aircrack-ng.hash aircrack-ng: security bump to version 1.2-rc1 2014-11-11 22:39:11 +01:00
aircrack-ng.mk package/aircrack-ng: fix static build 2014-11-16 22:43:35 +01:00