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.

(From OE-Core rev: ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2012-06-04 15:09:10 -07:00 committed by Richard Purdie
parent c16eddd1d9
commit eda6a522d1
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ FILES_${PN}-pkgmgt = "${bindir}/package-manager \
EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
LDFLAGS += "-lpthread"
PACKAGE_ARCH = "${MACHINE_ARCH}"
AVOID_CONSTRUCTOR = ""