aircrack-ng: fix static build
PATCH 1/1 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 <[email protected]>
--- package/aircrack-ng/aircrack-ng.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/aircrack-ng/aircrack-ng.mk +2 -1
@@ -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
Signature · 1 line
1.8.3.4
Thomas Petazzoni
AppliedPATCH 1/1 aircrack-ng: fix static build
Dear Samuel Martin,
Quoted 9 lines · Samuel Martin
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 <[email protected]>--- package/aircrack-ng/aircrack-ng.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com