[OE-core] [PATCH 3/7] gnutls: Link in pthread explicitly for uclibc
Khem Raj
raj.khem at gmail.com
Sun Mar 16 05:42:28 UTC 2014
Otherwise we end up with missing symbols from libpthread
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
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"
--
1.9.0
More information about the Openembedded-core
mailing list