qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix SDL configuration for mingw32 cross compilation.
@ 2009-06-13  8:01 Stefan Weil
  2009-06-13 22:24 ` Anthony Liguori
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Weil @ 2009-06-13  8:01 UTC (permalink / raw)
  To: qemu-devel

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 <weil@mail.berlios.de>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-06-17 10:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-13  8:01 [Qemu-devel] [PATCH] Fix SDL configuration for mingw32 cross compilation Stefan Weil
2009-06-13 22:24 ` Anthony Liguori
2009-06-14 14:00   ` Stefan Weil
2009-06-15  2:20     ` Anthony Liguori
2009-06-16 15:28       ` Jamie Lokier
2009-06-16 16:31         ` Stefan Weil
2009-06-16 18:14           ` Jamie Lokier
2009-06-17 10:27             ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).