aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2017-11-16 17:37:32 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-11-23 10:46:42 +0000
commit2fe47fce7860a1f1212f6b309fcc1c3163c532de (patch)
tree5f39ad7a040899e0bc7aee4fe99898e2a478b537 /Makefile.target
parent8f2c4cbc76cd37c22d0ed9a23b833690e6c405b2 (diff)
downloadqemu-2fe47fce7860a1f1212f6b309fcc1c3163c532de.zip
qemu-2fe47fce7860a1f1212f6b309fcc1c3163c532de.tar.gz
qemu-2fe47fce7860a1f1212f6b309fcc1c3163c532de.tar.bz2
Fix build of console and GUI executables for Windows
It was broken by commit 8ecc89f6e792152496eccb684d6c8c48aba8027d which moved the SDL linker flags from macro libs_softmmu to macro SDL_LIBS. Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-id: 20171116163732.31584-1-sw@weilnetz.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index e4244c1..f9a9da7 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -22,7 +22,7 @@ QEMU_PROG_BUILD = $(QEMU_PROG)
else
# system emulator name
QEMU_PROG=qemu-system-$(TARGET_NAME)$(EXESUF)
-ifneq (,$(findstring -mwindows,$(libs_softmmu)))
+ifneq (,$(findstring -mwindows,$(SDL_LIBS)))
# Terminate program name with a 'w' because the linker builds a windows executable.
QEMU_PROGW=qemu-system-$(TARGET_NAME)w$(EXESUF)
$(QEMU_PROG): $(QEMU_PROGW)