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

Submitted by Khem Raj on June 9, 2012, 4:43 p.m.

Details

Message ID ba4edc2842f548b44617811ec9b810863afe8201.1339259893.git.raj.khem@gmail.com
State Accepted
Commit 398928ea445f76ed37d1cc77cef6ae2ca85b7a0d
Headers show

Commit Message

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 hide | download patch | download mbox

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}"