From: Khem Raj Date: Sun, 16 Mar 2014 05:42:28 +0000 (-0700) Subject: gnutls: Link in pthread explicitly for uclibc X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f09353a1548d392a3f71e800be8e1b849960584;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gnutls: Link in pthread explicitly for uclibc Otherwise we end up with missing symbols from libpthread Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc index 39aaec18b5f..25ec3a6659f 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"