Patchwork [Consolidated,Pull,12/23] libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc

login
register
mail settings
Submitter Saul Wold
Date June 17, 2012, 5:39 a.m.
Message ID <77bdeee8013e214a07627e86d68106e28cd45e1d.1339911478.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/30015/
State New
Headers show

Comments

Saul Wold - June 17, 2012, 5:39 a.m.
From: Khem Raj <raj.khem@gmail.com>

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 ca32e73..471ee1d 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}"