From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWl3m-0005Jo-HK for qemu-devel@nongnu.org; Mon, 29 Apr 2013 06:11:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWl3l-0006jX-Ad for qemu-devel@nongnu.org; Mon, 29 Apr 2013 06:11:50 -0400 Received: from mail-bk0-x233.google.com ([2a00:1450:4008:c01::233]:64353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWl3l-0006is-3e for qemu-devel@nongnu.org; Mon, 29 Apr 2013 06:11:49 -0400 Received: by mail-bk0-f51.google.com with SMTP id y7so1510504bkt.24 for ; Mon, 29 Apr 2013 03:11:48 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 29 Apr 2013 12:11:23 +0200 Message-Id: <1367230284-24612-4-git-send-email-pbonzini@redhat.com> In-Reply-To: <1367230284-24612-1-git-send-email-pbonzini@redhat.com> References: <1367230284-24612-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 3/4] win32: generate console executable again List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, sw@weilnetz.de, aliguori@us.ibm.com 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 --- Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index 7e4c77a..6583b05 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 -- 1.8.2