From: Roman I Khimov Date: Mon, 15 Mar 2010 20:55:00 +0000 (+0300) Subject: qemu: fix build with zlib-dev missing on host X-Git-Tag: Release-2010-05/1~340^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2465c93bcb894b109badf81fdde2445c8d6ff363;p=openembedded.git 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 for spotting it. Signed-off-by: Roman I Khimov --- diff --git a/recipes/qemu/qemu_0.12.3.bb b/recipes/qemu/qemu_0.12.3.bb index 035b1a5b3a..d1971e96f8 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} }