From d7c311e6ea70988b8ce1b6ed7fce6bfd0fb63d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Wed, 3 Apr 2024 20:40:25 +0200 Subject: [PATCH] meson: Avoid installing indirect symlinks Where one symlink points to another symlink. This results in the Meson install command failing on Windows, due to no actual symlinks being created. What happens is that the subsequent verification step fails because the installed file that it points to doesn't exist. --- compiler/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/meson.build b/compiler/meson.build index 0acde1e14..ceb743b00 100644 --- a/compiler/meson.build +++ b/compiler/meson.build @@ -12,8 +12,6 @@ valac_exe = executable( install: true, ) -vala_name = 'vala@0@'.format(vala_version_suffix) - install_symlink( f'vala@vala_version_suffix@@exe_ext@', pointing_to: f'@valac_name@@exe_ext@', @@ -26,6 +24,6 @@ install_symlink( ) install_symlink( f'vala@exe_ext@', - pointing_to: f'vala@vala_version_suffix@@exe_ext@', + pointing_to: f'@valac_name@@exe_ext@', install_dir: get_option('bindir'), )