Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mkSNA-0007hZ-6m for mharc-qemu-trivial@gnu.org; Tue, 09 Nov 2021 09:45:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkSN8-0007gr-Fy for qemu-trivial@nongnu.org; Tue, 09 Nov 2021 09:45:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:52355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkSN3-00033s-SU for qemu-trivial@nongnu.org; Tue, 09 Nov 2021 09:45:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636469108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BHrFyIedMgFkgcfjvsjFe56Wr+AISOkv82qmkiOkMDw=; b=c6B87qh5GoCwhbsyHbDxVGEOWKN4HeCcSYEZ1DLsYGmHcOTJ7Hag8RceIO5R2cbYZJYQ+a M+J5VjGmd7gvcoj004JaCvWITazTFaaemT2IFRZs7d1BgmfstlDYq5DY6nfIDvfJTIGyO8 AAjUTAmIkQv43xrxVTatKcpvf+OhiMw= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-62-2p7lisaPP_mKbqtWEn8lKQ-1; Tue, 09 Nov 2021 09:45:07 -0500 X-MC-Unique: 2p7lisaPP_mKbqtWEn8lKQ-1 Received: by mail-wm1-f69.google.com with SMTP id k5-20020a7bc3050000b02901e081f69d80so7824833wmj.8 for ; Tue, 09 Nov 2021 06:45:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BHrFyIedMgFkgcfjvsjFe56Wr+AISOkv82qmkiOkMDw=; b=bnwiYl0stWl47X2/dgFuQq9+JOZCAzehDERuniZIc6yFJ8uboDhUu+8taa4znwHd11 qGmVHC2Y2XHr808iby6aziygZdt9rnEk+/nGp/PyMmKfrAXXnTQg1vzEDBPZHJCLZSlP 3InSa4TSWxq9A3muqbfEjqcKiZvpTf2wO48qgu1MYVOYS+gFVFm9l/xODcfwWzC2SgSZ ktlsWYPjD/Qvtf7X+1ukPZgL0uUVkLGcqZ69fYQMyhYLcvACR40inaN8/rmbuDqFH3j1 3tlF3XYlRHUgvrhjtAss67HlIKfLRkXOoLPiFXfTR4r8qqcDE/oWcasbi3RpcYCxEt9c sZFA== X-Gm-Message-State: AOAM530f7PSybmCnmOeQFRaNwDUmzwAjqGiorIWlup2vM5+dtOJO/72T HlY+LSd34cHWutmClxZ1Pc3n+GLFRg9dSyAv9gWp+Ado7l4GQKBtPwdDNHciXtHoGtbhwCpBdwG oPlkDQM+U0BgJbmN0Kg== X-Received: by 2002:a05:600c:a08:: with SMTP id z8mr8045694wmp.52.1636469106051; Tue, 09 Nov 2021 06:45:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3z+Py4DaF/vHdys0Rft53Cqitjp+8hC8jQNB8CqVEwweKbCiqKCPKUiDB4pmQ5o/zYfstOA== X-Received: by 2002:a05:600c:a08:: with SMTP id z8mr8045648wmp.52.1636469105760; Tue, 09 Nov 2021 06:45:05 -0800 (PST) Received: from x1w.. (62.red-83-57-168.dynamicip.rima-tde.net. [83.57.168.62]) by smtp.gmail.com with ESMTPSA id i15sm2726425wmb.20.2021.11.09.06.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Nov 2021 06:45:05 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Weil , Yonggang Luo , qemu-trivial@nongnu.org, Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] configure: Symlink binaries using .exe suffix with MinGW Date: Tue, 9 Nov 2021 15:45:04 +0100 Message-Id: <20211109144504.1541206-1-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.699, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2021 14:45:14 -0000 When using the MinGW toolchain, we use the .exe suffix for the executable name. We also need to use it for the symlinks in the build directory. Signed-off-by: Philippe Mathieu-Daudé --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 48c21775f3a..31e8f586dc7 100755 --- a/configure +++ b/configure @@ -3786,7 +3786,7 @@ fi for target in $target_list; do target_dir="$target" - target_name=$(echo $target | cut -d '-' -f 1) + target_name=$(echo $target | cut -d '-' -f 1)$EXESUF mkdir -p $target_dir case $target in *-user) symlink "../qemu-$target_name" "$target_dir/qemu-$target_name" ;; -- 2.31.1