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

login
register
mail settings
Submitter Khem Raj
Date June 15, 2012, 6:12 a.m.
Message ID <09638883e17cf3c76bac575a10e5396011e51553.1339740433.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/29943/
State New
Headers show

Comments

Khem Raj - June 15, 2012, 6:12 a.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 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}"