From patchwork Mon Apr 29 10:11:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 240356 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B24462C009F for ; Mon, 29 Apr 2013 20:13:33 +1000 (EST) Received: from localhost ([::1]:48496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWl5P-0007mF-Pl for incoming@patchwork.ozlabs.org; Mon, 29 Apr 2013 06:13:31 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=DXk+8uF6YoFp0HCo6aL5Q7VUvtqF05gmR/VP/MDpJyY=; b=xFYWKHPbsFx5UaZ4l1dNkiJOmvGnxNMhqqJzkjQkKNMFgpe9IRXEXt425RIgRdrCvY c4huYIDwF+XAi/Rl/GZpuXyDPvTJ9ZyJ4dOQYjb+5bAr4mKNTlkzn8TAZ3ESpx441ItG sS6MdM+G/AbAXN+KjLz0vaoJe9IKxpiewewHdYGu2h4ELw/fJowHIVwBMPEX5YykAkjz EvKgcypg3RHBmSj8mbYT3CuXvbmOiRkWOnFeQs1hGu+VrNm+CSiLL/sTePR/BG6WyR5p tRHIA1vTCU+s6bi+LzEGLObzsAlZ2ACdEl6USPJtxKHDl4iqi1Xv2mwUFK8FS1Hkv2XN XBSw== X-Received: by 10.204.231.132 with SMTP id jq4mr7451922bkb.77.1367230308350; Mon, 29 Apr 2013 03:11:48 -0700 (PDT) Received: from yakj.lan (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPSA id iy11sm6526857bkb.11.2013.04.29.03.11.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 29 Apr 2013 03:11:47 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 29 Apr 2013 12:11:23 +0200 Message-Id: <1367230284-24612-4-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1367230284-24612-1-git-send-email-pbonzini@redhat.com> References: <1367230284-24612-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4008:c01::233 Cc: blauwirbel@gmail.com, sw@weilnetz.de, aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 3/4] win32: generate console executable again X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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