aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-11-09 15:45:04 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-12-17 10:39:41 +0100
commit57a93f16e8dad554720edcc5ed1fe613d68bf230 (patch)
treec177585dc6e0adaac2e819f09b50d5b985886eb9
parent29eb5c2c86f935b0e9700fad2ecfe8a32b011d57 (diff)
downloadqemu-57a93f16e8dad554720edcc5ed1fe613d68bf230.zip
qemu-57a93f16e8dad554720edcc5ed1fe613d68bf230.tar.gz
qemu-57a93f16e8dad554720edcc5ed1fe613d68bf230.tar.bz2
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é <philmd@redhat.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20211109144504.1541206-1-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5fae198..28e1cf6 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" ;;