[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 34/42] move SDL_LIBS Win32 hack to configure
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 34/42] move SDL_LIBS Win32 hack to configure |
Date: |
Thu, 30 Jul 2009 04:07:29 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile.target | 4 ----
configure | 3 +++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 04b98be..ae407d6 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 08c6e12..7bd3f3f 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
##########################################
--
1.6.2.5
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, (continued)
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Paolo Bonzini, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Paolo Bonzini, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/30
- Re: [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Jamie Lokier, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/30
- Re: [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, malc, 2009/07/30
[Qemu-devel] [PATCH 32/42] move common CFLAGS to configure, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 33/42] Refactor HELPER_CFLAGS, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 31/42] split CFLAGS very long line, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 34/42] move SDL_LIBS Win32 hack to configure,
Juan Quintela <=
[Qemu-devel] [PATCH 35/42] Add libs_softmmu variable, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 36/42] Add SDL_LIBS to libs_softmmu, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 37/42] gcc generates the right dependency for this file, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 39/42] Move sound library selection to sound selection, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 38/42] move coreaudio libraries to coreaudio selection, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 40/42] files are only compiled when CONFIG_ADLIB is defined, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 41/42] Test if we need -lutil in ,/configure, Juan Quintela, 2009/07/29
[Qemu-devel] [PATCH 42/42] Fold CURSES_LIBS into libsoftmmu_libs, Juan Quintela, 2009/07/29