aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-03-15 22:42:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 14:01:06 +0000
commit9f09353a1548d392a3f71e800be8e1b849960584 (patch)
treeaad9e8358868be9687d0ed3157cc77af5cc21f4b /meta
parent9da1e04b1543d0a08fdd679a72c9cf6455811ab9 (diff)
downloadopenembedded-core-9f09353a1548d392a3f71e800be8e1b849960584.tar.gz
gnutls: Link in pthread explicitly for uclibc
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index 39aaec18b5..25ec3a6659 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"