1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 22:12:43 +01:00

msys2: make symbolic linking work in Meson

This commit is contained in:
Brian McKenna 2024-11-06 00:04:41 +11:00
parent b4c05a18b4
commit f1fd277f1e
2 changed files with 6 additions and 0 deletions

View file

@ -34,6 +34,8 @@ subdir('build-utils-meson/subprojects')
run_command('ln', '-s',
meson.project_build_root() / '__nothing_link_target',
meson.project_build_root() / '__nothing_symlink',
# native doesn't allow dangling symlinks, which the tests require
env : { 'MSYS' : 'winsymlinks:lnk' },
check : true,
)
can_link_symlink = run_command('ln',