diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-04 15:09:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-18 13:23:59 +0100 |
commit | eda6a522d1e0d9c8854d8d044035066c1eb08624 (patch) | |
tree | fa0e9c130638bb66da468968cf4cff09aae303e1 /meta/recipes-extended/libzypp | |
parent | c16eddd1d954284e905f265076c0258cca923fe2 (diff) | |
download | poky-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.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 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 | ||
47 | EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}" | 47 | EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}" |
48 | 48 | ||
49 | LDFLAGS += "-lpthread" | ||
50 | |||
49 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 51 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
50 | 52 | ||
51 | AVOID_CONSTRUCTOR = "" | 53 | AVOID_CONSTRUCTOR = "" |