diff options
author | Samuel Martin <s.martin49@gmail.com> | 2013-08-12 15:50:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-08-13 10:19:04 +0200 |
commit | 1141d99aae9e1b139509ad71c969e6705417a48b (patch) | |
tree | 79429c8f437a286bac349dd8fe0e329b66ffd3f7 /package/aircrack-ng/aircrack-ng.mk | |
parent | c1a6bcece5e5832cc8897b5b600dfb958cab88f0 (diff) | |
download | buildroot-1141d99aae9e1b139509ad71c969e6705417a48b.tar.gz buildroot-1141d99aae9e1b139509ad71c969e6705417a48b.zip |
aircrack-ng: fix static build
When static build and sqlite3 support are enabled together,
link flags needs to be defined in the right order.
Fixes http://autobuild.buildroot.org/results/a74/a74ced69052c1d0a91dbe32483fd0612d1bf24a
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/aircrack-ng/aircrack-ng.mk')
-rw-r--r-- | package/aircrack-ng/aircrack-ng.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk index fbefd741eb..00f4bac436 100644 --- a/package/aircrack-ng/aircrack-ng.mk +++ b/package/aircrack-ng/aircrack-ng.mk @@ -13,7 +13,8 @@ AIRCRACK_NG_DEPENDENCIES = openssl ifeq ($(BR2_PACKAGE_SQLITE),y) AIRCRACK_NG_MAKE_OPTS = sqlite=true - AIRCRACK_NG_MAKE_OPTS += LIBSQL="-lsqlite3" + AIRCRACK_NG_MAKE_OPTS += \ + LIBSQL="-lsqlite3$(if $(BR2_PREFER_STATIC_LIB), -ldl -lpthread)" AIRCRACK_NG_DEPENDENCIES += sqlite else |