Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2014-10-23
Date: Fri, 24 Oct 2014 10:11:51 +0200	[thread overview]
Message-ID: <20141024101151.44021dc0@free-electrons.com> (raw)
In-Reply-To: <CAMo8BfKK1=DZF09GJMa__rw=z-i3pzMhNGy+pfY49f-PtKcZCQ@mail.gmail.com>

Dear Max Filippov,

On Fri, 24 Oct 2014 11:48:51 +0400, Max Filippov wrote:

> This fails because BR2_PREFER_STATIC_LIB is defined and the package
> treats it the old way. I'll send a patch that adds dependency on
> ! BR2_PREFER_STATIC_LIB to aircrack-ng.

Hum, when you grep through the code, it only uses dlopen() if used with
Cygwin:

$ grep -r dlopen *
src/osdep/cygwin.c:		lib = dlopen(file, RTLD_LAZY);

Maybe it's one of the dependencies that need -ldl ? But indeed, doing:

AIRCRACK_NG_LDFLAGS = $(TARGET_LDFLAGS) -lz \
        $(if $(BR2_PREFER_STATIC_LIB),-ldl -lpthread)

is quite silly. How can you have -ldl if you're using static libraries.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2014-10-24  8:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2014-10-23 Thomas Petazzoni
2014-10-24  7:48 ` Max Filippov
2014-10-24  8:11   ` Thomas Petazzoni [this message]

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=20141024101151.44021dc0@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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