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:16:36 +0100 |
commit | ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76 (patch) | |
tree | f964f4ac3edaa442527ad64ade02bfe2bd3821fb | |
parent | 935f2c02809814de2b903a704707d7bc85bbefdf (diff) | |
download | openembedded-core-ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76.tar.gz openembedded-core-ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76.tar.bz2 openembedded-core-ded71e4904ed8df23fe4ca5c5e4516a8a6e9fc76.zip |
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 <raj.khem@gmail.com>
-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 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 = "" |