[Buildroot] [autobuild.buildroot.net] Build results for 2014-10-23
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Oct 24 08:11:51 UTC 2014
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
More information about the buildroot
mailing list