Patchwork [12/16] libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc

login
register
mail settings
Submitter Khem Raj
Date June 9, 2012, 4:43 p.m.
Message ID <ba4edc2842f548b44617811ec9b810863afe8201.1339259893.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/29581/
State Accepted
Commit 398928ea445f76ed37d1cc77cef6ae2ca85b7a0d
Headers show

Comments

Khem Raj - June 9, 2012, 4:43 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/libzypp/libzypp_git.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index 0fe6114..ad38751 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -48,8 +48,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}"