From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFOBG-0004DA-6O for qemu-devel@nongnu.org; Sat, 13 Jun 2009 04:01:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFOBA-0004AD-Sl for qemu-devel@nongnu.org; Sat, 13 Jun 2009 04:01:36 -0400 Received: from [199.232.76.173] (port=47199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFOBA-0004AA-LL for qemu-devel@nongnu.org; Sat, 13 Jun 2009 04:01:32 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:63548) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFOB9-00053G-Ru for qemu-devel@nongnu.org; Sat, 13 Jun 2009 04:01:32 -0400 From: Stefan Weil Date: Sat, 13 Jun 2009 10:01:27 +0200 Message-Id: <1244880087-5277-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] Fix SDL configuration for mingw32 cross compilation. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org When building QEMU for win32 on linux with mingw32, configure must call ${cross_prefix}-sdl-config (not sdl-config) to get the correct include and lib paths. The results of the native sdl-config are only valid for native builds. They are useless for cross builds. Signed-off-by: Stefan Weil --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 48c8949..35b8fbf 100755 --- a/configure +++ b/configure @@ -862,7 +862,7 @@ fi sdl_too_old=no if test "$sdl" = "yes" ; then - sdl_config="sdl-config" + sdl_config="${cross_prefix}sdl-config" sdl=no sdl_static=no -- 1.5.6.5