[oe-commits] Khem Raj : gnutls: Link in pthread explicitly for uclibc

git at git.openembedded.org git at git.openembedded.org
Sun Mar 16 23:01:35 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 4c393d234b442d9bd0e6e78ae81a7670995aab10
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4c393d234b442d9bd0e6e78ae81a7670995aab10

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Mar 15 22:42:28 2014 -0700

gnutls: Link in pthread explicitly for uclibc

Otherwise we end up with missing symbols from libpthread

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/gnutls/gnutls.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index 39aaec1..25ec3a6 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -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"



More information about the Openembedded-commits mailing list