qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu: Fix incorrect zlib check error


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] qemu: Fix incorrect zlib check error
Date: Tue, 18 Nov 2008 16:11:28 -0600
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Hollis Blanchard wrote:
On Fri, Nov 14, 2008 at 11:57 AM, Deepa Srinivasan <address@hidden> wrote:
qemu: Fix incorrect zlib check error

From: Deepa Srinivasan <address@hidden>

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]