]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Fix build of console and GUI executables for Windows
authorStefan Weil <sw@weilnetz.de>
Thu, 16 Nov 2017 16:37:32 +0000 (17:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Nov 2017 10:46:42 +0000 (10:46 +0000)
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>
Makefile.target

index e4244c188adeed6734d59ce7bc7c4f9a9984dc8e..f9a9da7e7cc33fac783d099f3b4ecb8d12f3d5bd 100644 (file)
@@ -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)