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

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

 



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

From: Deepa Srinivasan <deepas@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux