gnutls: make sure librt detection doesn't poison the linker flags
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 Feb 2015 21:18:51 +0000 (22:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 17 Feb 2015 12:58:22 +0000 (13:58 +0100)
commitb34c63375a88999d232129428a2297f5ddb9c465
treec49d4de7a520e428f76a37c5a62e597eadba6ecf
parentbc11392de77e1cc2d3f516d76f87f1b6de8d5d3f
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/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnutls/gnutls.mk