[oe-commits] Khem Raj : libzypp: Fix build with uclibc
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 18 12:18:13 UTC 2012
Module: openembedded-core.git
Branch: master-next
Commit: ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76
Author: Khem Raj <raj.khem at gmail.com>
Date: Mon Jun 4 15:09:10 2012 -0700
libzypp: Fix build with uclibc
cstdio is included indrectly with eglibc based systems
but not with uclibc based systems and use of functions
like ::eof are then reported as warnings. Therefore
we include cstdio explicitly.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-extended/libzypp/libzypp_git.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index 471ee1d..3a323e7 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -51,6 +51,8 @@ FILES_${PN}-pkgmgt = "${bindir}/package-manager \
EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
OECMAKE_CXX_LINK_FLAGS_libc-uclibc += "-pthread"
+LDFLAGS += "-lpthread"
+
PACKAGE_ARCH = "${MACHINE_ARCH}"
AVOID_CONSTRUCTOR = ""
More information about the Openembedded-commits
mailing list