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

Martin Bark martin at barkynet.com
Mon May 16 15:01:50 UTC 2016


Thomas,

On 16 May 2016 at 15:43, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> 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?

Yes i was just holding off in case you wanted any changes.  I've just
submitted a patch to bump the iputils version and checked it fixes
several of the autobuild errors,

Thanks

Martin

>
> 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