]> git.proxmox.com Git - qemu.git/commitdiff
win32: generate console executable again
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Apr 2013 20:57:59 +0000 (22:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Apr 2013 22:28:35 +0000 (00:28 +0200)
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 <pbonzini@redhat.com>
Makefile.target

index 7e4c77a269916807c1abcd3c30d7d70a1144503d..6583b054821c4a2b7d23422963daf8289beeadcf 100644 (file)
@@ -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