summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libzypp
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-04 15:09:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-18 13:23:59 +0100
commiteda6a522d1e0d9c8854d8d044035066c1eb08624 (patch)
treefa0e9c130638bb66da468968cf4cff09aae303e1 /meta/recipes-extended/libzypp
parentc16eddd1d954284e905f265076c0258cca923fe2 (diff)
downloadpoky-eda6a522d1e0d9c8854d8d044035066c1eb08624.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended/libzypp')
-rw-r--r--meta/recipes-extended/libzypp/libzypp_git.bb2
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 90ee8c4a56..1d4160f398 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -46,6 +46,8 @@ FILES_${PN}-pkgmgt = "${bindir}/package-manager \
46 46
47EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}" 47EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}"
48 48
49LDFLAGS += "-lpthread"
50
49PACKAGE_ARCH = "${MACHINE_ARCH}" 51PACKAGE_ARCH = "${MACHINE_ARCH}"
50 52
51AVOID_CONSTRUCTOR = "" 53AVOID_CONSTRUCTOR = ""