qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Fix SDL configuration for mingw32 cross compilation


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] Fix SDL configuration for mingw32 cross compilation.
Date: Sat, 13 Jun 2009 10:01:27 +0200

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 <address@hidden>
---
 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





reply via email to

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