From: Khem Raj Date: Mon, 4 Jun 2012 22:09:10 +0000 (-0700) Subject: libzypp: Fix build with uclibc X-Git-Tag: 2015-4~10326 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76;p=openembedded-core.git 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 --- 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 = ""