Skip to content
Snippets Groups Projects
Commit 2fe47fce authored by Stefan Weil's avatar Stefan Weil Committed by Peter Maydell
Browse files

Fix build of console and GUI executables for Windows


It was broken by commit 8ecc89f6 which
moved the SDL linker flags from macro libs_softmmu to macro SDL_LIBS.

Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
Message-id: 20171116163732.31584-1-sw@weilnetz.de
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 8f2c4cbc
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment