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>
This commit is contained in:
parent
c1a6bcece5
commit
1141d99aae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user