[3/7] gnutls: Link in pthread explicitly for uclibc

Submitted by Khem Raj on March 16, 2014, 5:42 a.m.

Details

Message ID 88b735f562f6dafde6c85e95171c39206009e2a0.1394948105.git.raj.khem@gmail.com
State Accepted
Commit 9f09353a1548d392a3f71e800be8e1b849960584
Headers show

Commit Message

Khem Raj March 16, 2014, 5:42 a.m.
Otherwise we end up with missing symbols from libpthread

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/gnutls/gnutls.inc | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

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"