Commit c12915e6 authored by Paolo Bonzini's avatar Paolo Bonzini

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: default avatarPaolo Bonzini <>
parent c02817e5
......@@ -18,7 +18,7 @@ ifdef CONFIG_USER_ONLY
# 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.
endif # windows executable
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment