summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-06 18:32:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-15 15:54:18 +0100
commit398928ea445f76ed37d1cc77cef6ae2ca85b7a0d (patch)
treecab3f810955e63180cd3fa88e5b6a26b57abe96c /meta/recipes-extended
parent1ea9b31f304e54ce4b7c2d38582d1775a46cd8c6 (diff)
downloadopenembedded-core-398928ea445f76ed37d1cc77cef6ae2ca85b7a0d.tar.gz
openembedded-core-398928ea445f76ed37d1cc77cef6ae2ca85b7a0d.tar.bz2
openembedded-core-398928ea445f76ed37d1cc77cef6ae2ca85b7a0d.zip
libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/libzypp/libzypp_git.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index ca32e7304e..471ee1d690 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -49,8 +49,7 @@ FILES_${PN}-pkgmgt = "${bindir}/package-manager \
"
EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
-
-LDFLAGS += "-lpthread"
+OECMAKE_CXX_LINK_FLAGS_libc-uclibc += "-pthread"
PACKAGE_ARCH = "${MACHINE_ARCH}"