[Buildroot] [PATCH] gnutls: make sure librt detection doesn't poison the linker flags

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 17 13:00:45 UTC 2015


Hello,

On Sat, 14 Feb 2015 22:18:51 +0100, Thomas Petazzoni wrote:
> Just like we're passing --with-libpthread-prefix, we also need to pass
> --with-librt-prefix in order to avoid having the gnutls build system
> detect the librt in /usr/lib, and pass -L/usr/lib to the linker flags.
> 
> Fixes:
> 
>   http://autobuild.buildroot.org/results/fa5/fa58602cb78ffe3ae4ee389ef5cf5a37b7657c4c/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  package/gnutls/gnutls.mk | 1 +
>  1 file changed, 1 insertion(+)

Since the issue occurred again in the autobuilder, I applied this patch.

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


More information about the buildroot mailing list