Hollis Blanchard wrote:
On Fri, Nov 14, 2008 at 11:57 AM, Deepa Srinivasan <[EMAIL PROTECTED]> wrote:
qemu: Fix incorrect zlib check error

From: Deepa Srinivasan <[EMAIL PROTECTED]>

Include the CFLAGS and LDFLAGS variables in the check for zlib. When 
cross-compiling
for PowerPC, the path for zlib headers and libraries are passed in the CFLAGS
and LDFLAGS respectively. While this patch fixes only the check for zlib,
this issue potentially affects other configure tests as well.

Doesn't anybody else cross-compile qemu? AFAICS, this patch is
required to specify the location of cross-built libraries like zlib.

That's if you're using --extra-cflags. I cross compile without using --extra-cflags by installing libraries in the path of the cross environment. For instance, I have a /usr/i586-mingw32msvc path and the include/ directory in their has a zlib.h. This is what will be used by default.

Regards,

Anthony Liguori

-Hollis



--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to