From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Date: Tue, 18 Nov 2008 22:11:28 +0000 Subject: Re: [Qemu-devel] [PATCH] qemu: Fix incorrect zlib check error Message-Id: <49233D90.107@codemonkey.ws> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: qemu-devel@nongnu.org Cc: kvm-ppc@vger.kernel.org Hollis Blanchard wrote: > On Fri, Nov 14, 2008 at 11:57 AM, Deepa Srinivasan wrote: > >> qemu: Fix incorrect zlib check error >> >> From: Deepa Srinivasan >> >> 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 > > >