]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnutls: Link in pthread explicitly for uclibc
authorKhem Raj <raj.khem@gmail.com>
Sun, 16 Mar 2014 05:42:28 +0000 (22:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2014 14:01:06 +0000 (14:01 +0000)
Otherwise we end up with missing symbols from libpthread

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnutls/gnutls.inc

index 39aaec18b5fb22e31f1999564f35641d746756c5..25ec3a6659f4d830d75318f74307ba292c4bb1d4 100644 (file)
@@ -44,4 +44,6 @@ FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
 FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
 FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"
 
+LDFLAGS_append_libc-uclibc += " -pthread"
+
 BBCLASSEXTEND = "native"