From patchwork Sat Apr 27 11:48:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 240108 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 A0F122C00CC for ; Sat, 27 Apr 2013 21:51:19 +1000 (EST) Received: from localhost ([::1]:52663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW3ev-0002bg-V1 for incoming@patchwork.ozlabs.org; Sat, 27 Apr 2013 07:51:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW3d4-0007vI-5K for qemu-devel@nongnu.org; Sat, 27 Apr 2013 07:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UW3d3-0007h2-9U for qemu-devel@nongnu.org; Sat, 27 Apr 2013 07:49:22 -0400 Received: from mail-bk0-x232.google.com ([2a00:1450:4008:c01::232]:52639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW3d3-0007fg-3X for qemu-devel@nongnu.org; Sat, 27 Apr 2013 07:49:21 -0400 Received: by mail-bk0-f50.google.com with SMTP id ik5so2110783bkc.37 for ; Sat, 27 Apr 2013 04:49:20 -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=xWjjbvaeICAkU8hgrZbr7TrJEkFhIsh6/7KdBKxLd1wueMnzLoo9Q6NR/36yq66c6Z rrS/RU8i3O6UEe7Qek6+nHhMUNFnAWEi4ftBWvFwI6zPCKN278sl5/5g5/H/9NikAPa7 KobWmenjaiw/blLZKTMxOiVw1d+xhs4WvLbROM3sjiZaDuTCVpYREOH0jDVfXIyN46tp /bc/j9WBnID8JTgqZuarK7DgHBLnUnwlWSmaLGXJNNqCOXyK52WgDFHN9o0YzYtql6SI gDZdTRfWamvP9iYfm0sJPbBJ06TUIxP/LyptR+5TDzzE3P0ajryG7eFmPsA+0XmxhOyP f2lA== X-Received: by 10.204.232.198 with SMTP id jv6mr5237756bkb.8.1367063360141; Sat, 27 Apr 2013 04:49:20 -0700 (PDT) Received: from yakj.lan (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPSA id tl1sm4368203bkb.7.2013.04.27.04.49.18 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 27 Apr 2013 04:49:19 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Sat, 27 Apr 2013 13:48:39 +0200 Message-Id: <1367063321-19196-4-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1367063321-19196-1-git-send-email-pbonzini@redhat.com> References: <1367063321-19196-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::232 Cc: blauwirbel@gmail.com, sw@weilnetz.de Subject: [Qemu-devel] [PATCH 3/5] 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