[Buildroot] [PATCH 1/1] Fix batctl for static builds

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Mar 7 12:01:53 UTC 2015

Dear Jens Zettelmeyer,

On Fri,  6 Mar 2015 20:15:48 +0000, Jens Zettelmeyer wrote:
> Signed-off-by: Jens Zettelmeyer <zettelmeyerj at goooglemail.com>
> ---
>  package/batctl/batctl.mk | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Thanks for working on this. However, this isn't the right fix for the
problem: batctl uses pkg-config to discover how to link with libnl.
It's just that the libnl .pc files were not correct in terms of static
linking handling. Fixing those .pc files is a better solution, as it 1/
can be upstreamed to libnl, 2/ avoids hacks in batctl.mk, and 3/ allows
to also removes hacks in other Buildroot packages.

See the series I have sent at


Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list