From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 16 May 2016 14:50:31 +0200 Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2016-05-13 In-Reply-To: References: <20160514063024.2C7B91025E9@stock.ovh.net> <20160514154655.57ae0bad@free-electrons.com> <20160516131538.70d77f39@free-electrons.com> Message-ID: <20160516145031.7ac19309@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Mon, 16 May 2016 13:23:44 +0100, Martin Bark wrote: > > And indeed, it has been merged half an hour ago. However, I'm wondering > > why you have not used pkg-config instead. The drawback of -lgcrypt > > -lgpg-error is that now, even in dynamic linking situations, the > > iputils binary has a direct reference to libgpg-error. > > yes my first thought was to use libgrypt-config but in the end I > decided to keep it simple because iputils only has a basic Makefile > with no configure script. It's the same situation we had with linking > against the libm. I going to asking the maintainer if they would > accept a change to add a cmake or autotools build system so solve this > kind of issue neatly. 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? Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com