From: Paolo Bonzini Date: Wed, 24 Apr 2013 20:57:59 +0000 (+0200) Subject: win32: generate console executable again X-Git-Tag: v1.5.0-rc0~88^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c12915e638a31010923b8dbbf8ce06f564a175f9;p=qemu.git win32: generate console executable again The -mwindows option is not anymore in LIBS at this point of the Makefile, it is only in libs_softmmu. Check the right variable. Signed-off-by: Paolo Bonzini --- diff --git a/Makefile.target b/Makefile.target index 7e4c77a26..6583b0548 100644 --- a/Makefile.target +++ b/Makefile.target @@ -18,7 +18,7 @@ ifdef CONFIG_USER_ONLY QEMU_PROG=qemu-$(TARGET_ARCH2) else # system emulator name -ifneq (,$(findstring -mwindows,$(LIBS))) +ifneq (,$(findstring -mwindows,$(libs_softmmu))) # Terminate program name with a 'w' because the linker builds a windows executable. QEMU_PROGW=qemu-system-$(TARGET_ARCH2)w$(EXESUF) endif # windows executable