aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-24 22:57:59 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-27 00:28:35 +0200
commitc12915e638a31010923b8dbbf8ce06f564a175f9 (patch)
tree2268e6b464a5ed039c00aa028c24f8fbc6bad210 /Makefile.target
parentc02817e5bfbb27955cac970019e6670dc427bc41 (diff)
downloadqemu-arm-c12915e638a31010923b8dbbf8ce06f564a175f9.tar.gz
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 <pbonzini@redhat.com>
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 7e4c77a269..6583b05482 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