qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 19/20] move SDL mingw32 hack to SDL detection


From: quintela
Subject: [Qemu-devel] [PATCH 19/20] move SDL mingw32 hack to SDL detection
Date: Tue, 21 Jul 2009 00:13:29 +0200

From: Juan Quintela <address@hidden>


Signed-off-by: Juan Quintela <address@hidden>
---
 configure |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 69ce350..a57f7f6 100755
--- a/configure
+++ b/configure
@@ -950,6 +950,9 @@ EOF
     if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $sdl_cflags $TMPC $sdl_libs > 
/dev/null 2>&1 ; then
        sdl_libs="$sdl_libs -lX11"
     fi
+    if test "$mingw32" = "yes" ; then
+        sdl_libs="`echo $sdl_libs | sed s/-mwindows//g` -mconsole"
+    fi
 fi

 ##########################################
@@ -1682,8 +1685,6 @@ if test "$sdl1" = "yes" ; then
   echo "CONFIG_SDL=y" >> $config_host_mak
   if test "$static" = "yes"; then
     LIBS="$LIBS $sdl_static_libs"
-  elif test "$mingw32" = "yes" ; then
-    LIBS="$LIBS `sdl-config --libs | sed s/-mwindows//g` -mconsole"
   else
     LIBS="$LIBS $sdl_libs"
   fi
-- 
1.6.2.5





reply via email to

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