From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] aircrack-ng: fix statically linked build
Date: Thu, 16 May 2013 07:52:55 +0200 [thread overview]
Message-ID: <51947437.7010602@mind.be> (raw)
In-Reply-To: <20130515140651.682AC9A1B8@busybox.osuosl.org>
On 15/05/13 15:00, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=bed1490d0f58dc963d2144f2fe6b705f9f36d848
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> Fixe the build failure visible at
> http://autobuild.buildroot.net/results/2441d8b62323a00f32f2edb7cb781dda71ff7f68
>
> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
> ---
> package/aircrack-ng/aircrack-ng.mk | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk
> index c6574f1..a36cf34 100644
> --- a/package/aircrack-ng/aircrack-ng.mk
> +++ b/package/aircrack-ng/aircrack-ng.mk
> @@ -20,9 +20,12 @@ else
> AIRCRACK_NG_MAKE_OPTS = sqlite=false
> endif
>
> +AIRCRACK_NG_LDFLAGS = -lz \
> + $(if $(BR2_PREFER_STATIC_LIB),-ldl -lpthread)
You're missing $(TARGET_LDFLAGS) here.
Regards,
Arnout
> +
> define AIRCRACK_NG_BUILD_CMDS
> $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
> - LDFLAGS="$(TARGET_LDFLAGS) -lz" \
> + LDFLAGS="$(AIRCRACK_NG_LDFLAGS)" \
> -C $(@D) $(AIRCRACK_NG_MAKE_OPTS) all
> endef
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-05-16 5:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 13:00 [Buildroot] [git commit] aircrack-ng: fix statically linked build Peter Korsgaard
2013-05-16 5:52 ` Arnout Vandecappelle [this message]
2013-05-16 7:20 ` Peter Korsgaard
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=51947437.7010602@mind.be \
--to=arnout@mind.be \
--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