*qemu-native fails to build without zlib-dev package installed on buildhost
*configure script just adds -I. and -I${SRC_DIR} to QEMU_CFLAGS to build checks,
so it fails to build without headers installed on host
*change DEPENDS from zlib to zlib-native to install zlib headers in staging
Signed-off-by: Thomas Zimmermann <ml@vdm-design.de>
LICENSE = "GPL"
-DEPENDS = "zlib"
+DEPENDS = "zlib-native"
PR = "r0"
inherit autotools
do_configure() {
+ export QEMU_CFLAGS="-I${STAGING_INCDIR_NATIVE} ${QEMU_CFLAGS}"
${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
}