From: Philippe Mathieu-Daudé Date: Tue, 9 Nov 2021 14:45:04 +0000 (+0100) Subject: configure: Symlink binaries using .exe suffix with MinGW X-Git-Tag: v7.0.0-rc0~123^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57a93f16e8dad554720edcc5ed1fe613d68bf230;p=thirdparty%2Fqemu.git configure: Symlink binaries using .exe suffix with MinGW 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é Reviewed-by: Stefan Weil Acked-by: Paolo Bonzini Message-Id: <20211109144504.1541206-1-philmd@redhat.com> Signed-off-by: Laurent Vivier --- diff --git a/configure b/configure index 5fae19858d5..28e1cf6291b 100755 --- a/configure +++ b/configure @@ -3754,7 +3754,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" ;;