gnutls: make sure librt detection doesn't poison the linker flags
PATCH 1/1 gnutls: make sure librt detection doesn't poison the linker flags
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/
--- package/gnutls/gnutls.mk | 1 + 1 file changed, 1 insertion(+)
package/gnutls/gnutls.mk +1 -0
@@ -17,6 +17,7 @@ GNUTLS_DEPENDENCIES = host-pkgconf nettle pcre \ $(if $(BR2_PACKAGE_ZLIB),zlib) GNUTLS_CONF_OPTS = \ --with-libnettle-prefix=$(STAGING_DIR)/usr \ + --with-librt-prefix=$(STAGING_DIR) \ --disable-rpath \ --disable-doc \ --disable-guile \
Signature · 1 line
2.1.0
PATCH 1/1 gnutls: make sure librt detection doesn't poison the linker flags
Hello,
Quoted 4 lines · Thomas Petazzoni
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.
Quoted 8 lines
Fixes:
http://autobuild.buildroot.org/results/fa5/fa58602cb78ffe3ae4ee389ef5cf5a37b7657c4c/
Signed-off-by Thomas Petazzoni <[email protected]>--- package/gnutls/gnutls.mk | 1 + 1 file changed, 1 insertion(+)
Since the issue occurred again in the autobuilder, I applied this patch.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com