Received: from eggs.gnu.org ([208.118.235.92]:48434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV6ne-0001lu-Ay for qemu-devel@nongnu.org; Wed, 24 Apr 2013 17:00:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV6nd-0000hY-7a for qemu-devel@nongnu.org; Wed, 24 Apr 2013 17:00:22 -0400 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:46324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV6nd-0000hJ-2O for qemu-devel@nongnu.org; Wed, 24 Apr 2013 17:00:21 -0400 Received: by mail-ea0-f177.google.com with SMTP id q10so29909eaj.36 for ; Wed, 24 Apr 2013 14:00:20 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 24 Apr 2013 22:59:54 +0200 Message-Id: <1366837194-28601-4-git-send-email-pbonzini@redhat.com> In-Reply-To: <1366837194-28601-1-git-send-email-pbonzini@redhat.com> References: <1366837194-28601-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 1.5 v2 3/3] win32: generate console executable again List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: sw@weilnetz.de 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 2636103..3e8670c 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