From ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 4 Jun 2012 15:09:10 -0700 Subject: 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 --- meta/recipes-extended/libzypp/libzypp_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb index 471ee1d690..3a323e7e15 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 = "" -- cgit 1.2.3-korg