Skip to content

Commit

Permalink
meson: Avoid installing indirect symlinks
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oleavr committed Apr 3, 2024
1 parent dfe7e9f commit d7c311e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compiler/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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@',
Expand All @@ -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'),
)

0 comments on commit d7c311e

Please sign in to comment.