From f0dd14849737e57518c883320651916afbae1e32 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Mon, 15 Mar 2010 23:55:00 +0300 Subject: 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 --- recipes/qemu/qemu_0.12.3.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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} } -- cgit v1.2.3