[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] configure: Symlink binaries using .exe suffix with MinGW

From: Stefan Weil
Subject: Re: [PATCH] configure: Symlink binaries using .exe suffix with MinGW
Date: Tue, 9 Nov 2021 18:23:39 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Am 09.11.21 um 15:45 schrieb Philippe Mathieu-Daudé:

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é <philmd@redhat.com>
  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_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" ;;

I never missed those links, and so I did not notice that they were broken. But fixing them is reasonable of course, thank you.

Reviewed-by: Stefan Weil <sw@weilnetz.de>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]