[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 07d9ac4] move SDL_LIBS Win32 hack to configure
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 07d9ac4] move SDL_LIBS Win32 hack to configure |
Date: |
Mon, 10 Aug 2009 21:48:32 -0000 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id:
diff --git a/Makefile.target b/Makefile.target
index d34156c..9ffc0b7 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -441,10 +441,6 @@ ifeq ($(ARCH),ia64)
LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld
endif
-ifdef CONFIG_WIN32
-SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole
-endif
-
# profiling code
ifdef TARGET_GPROF
LDFLAGS+=-p
diff --git a/configure b/configure
index 3229e6c..a014e78 100755
--- a/configure
+++ b/configure
@@ -887,6 +887,9 @@ EOF
if compile_prog "$sdl_cflags" "$sdl_libs" ; then
sdl_libs="$sdl_libs -lX11"
fi
+ if test "$mingw32" = "yes" ; then
+ sdl_libs="`echo $sdl_libs | sed s/-mwindows//g` -mconsole"
+ fi
fi
##########################################
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 07d9ac4] move SDL_LIBS Win32 hack to configure,
Anthony Liguori <=