* [Buildroot] [PATCH] aircrack-ng: fix static build
@ 2013-08-12 13:50 Samuel Martin
2013-08-13 9:50 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Martin @ 2013-08-12 13:50 UTC (permalink / raw)
To: buildroot
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>
---
package/aircrack-ng/aircrack-ng.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk
index fbefd74..00f4bac 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
--
1.8.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] aircrack-ng: fix static build
2013-08-12 13:50 [Buildroot] [PATCH] aircrack-ng: fix static build Samuel Martin
@ 2013-08-13 9:50 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-08-13 9:50 UTC (permalink / raw)
To: buildroot
Dear Samuel Martin,
On Mon, 12 Aug 2013 15:50:09 +0200, Samuel Martin wrote:
> 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>
> ---
> package/aircrack-ng/aircrack-ng.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-13 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-12 13:50 [Buildroot] [PATCH] aircrack-ng: fix static build Samuel Martin
2013-08-13 9:50 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.