[oe-commits] Roman I Khimov : qemu: fix build with zlib-dev missing on host

git version control git at git.openembedded.org
Wed Mar 17 10:48:02 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 2465c93bcb894b109badf81fdde2445c8d6ff363
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2465c93bcb894b109badf81fdde2445c8d6ff363

Author: Roman I Khimov <khimov at altell.ru>
Date:   Mon Mar 15 23:55:00 2010 +0300

qemu: fix build with zlib-dev missing on host

OE provides its own zlib-native and qemu-native should use that.

Thanks to Thomas Zimmermann <ml at vdm-design.de> for spotting it.

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/qemu/qemu_0.12.3.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/qemu/qemu_0.12.3.bb b/recipes/qemu/qemu_0.12.3.bb
index 035b1a5..d1971e9 100644
--- a/recipes/qemu/qemu_0.12.3.bb
+++ b/recipes/qemu/qemu_0.12.3.bb
@@ -1,7 +1,7 @@
 LICENSE = "GPL"
 DEPENDS = "zlib"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "\
     http://download.savannah.gnu.org/releases/qemu/qemu-${PV}.tar.gz;name=qemu-${PV} \
@@ -31,6 +31,10 @@ EXTRA_OECONF += "--disable-sdl --disable-strip"
 
 inherit autotools
 
+do_configure_prepend_virtclass-native() {
+	export QEMU_CFLAGS="-I${STAGING_INCDIR_NATIVE} ${QEMU_CFLAGS}"
+}
+
 do_configure() {
 	${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
 }





More information about the Openembedded-commits mailing list