[Buildroot] [autobuild.buildroot.net] Build results for 2016-05-13

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 16 14:43:36 UTC 2016


Hello,

On Mon, 16 May 2016 15:34:20 +0100, Martin Bark wrote:

> > Well, going all the way to autotools or cmake is not really necessary
> > to solve these problems. You can just call pkg-config from a Makefile:
> >
> > LDFLAGS = $(shell pkg-config --libs libgcrypt)
> >
> > and that's it. No?  
> 
> gcrypt has it's owm libgrypt-config so you need something like
> 
> GCRYPT_CONFIG?=libgrypt-config
> LDFLAG_GCRYPT=$(shell $(GCRYPT_CONFIG) --libs)
> 
> However, libgcrypt-config --libs always returns -lgcrypt -lgpg-error
> so this method does not save you linking against libgpg-error.  Given
> the iputils Makefile does not currently use anything like pkg-config
> or libgcrypt-config i decided on the simpler method.

Gaah, OK. Then, yes your patch is the simplest solution. I thought
libgcrypt had pkg-config support, but it does not.

Will you send a Buildroot patch that backports the upstream-accepted
contribution you have made?

Thanks a lot!

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



More information about the buildroot mailing list