From: Samuel Martin <s.martin49@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] aircrack-ng: fix static build
Date: Mon, 12 Aug 2013 15:50:09 +0200 [thread overview]
Message-ID: <1376315409-12258-1-git-send-email-s.martin49@gmail.com> (raw)
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
next reply other threads:[~2013-08-12 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-12 13:50 Samuel Martin [this message]
2013-08-13 9:50 ` [Buildroot] [PATCH] aircrack-ng: fix static build Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1376315409-12258-1-git-send-email-s.martin49@gmail.com \
--to=s.martin49@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox