mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-14 11:53:03 +00:00
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>
This commit is contained in:
parent
c02817e5bf
commit
c12915e638
@ -18,7 +18,7 @@ ifdef CONFIG_USER_ONLY
|
|||||||
QEMU_PROG=qemu-$(TARGET_ARCH2)
|
QEMU_PROG=qemu-$(TARGET_ARCH2)
|
||||||
else
|
else
|
||||||
# system emulator name
|
# 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.
|
# Terminate program name with a 'w' because the linker builds a windows executable.
|
||||||
QEMU_PROGW=qemu-system-$(TARGET_ARCH2)w$(EXESUF)
|
QEMU_PROGW=qemu-system-$(TARGET_ARCH2)w$(EXESUF)
|
||||||
endif # windows executable
|
endif # windows executable
|
||||||
|
Loading…
Reference in New Issue
Block a user