Skip to content

Commit

Permalink
msys2: use ls.exe instead of coreutils.exe for coreutils directory
Browse files Browse the repository at this point in the history
  • Loading branch information
puffnfresh committed Nov 5, 2024
1 parent c259673 commit a9c417d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/functional/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ fs = import('fs')
nix = find_program('nix')
bash = find_program('bash', native : true)
busybox = find_program('busybox', native : true, required : false)
coreutils = find_program('coreutils', native : true)
if host_machine.system() == 'windows'
# Because of the state of symlinks on Windows, coreutils.exe doesn't usually exist, but things like ls.exe will
coreutils = find_program('ls', native : true)
else
coreutils = find_program('coreutils', native : true)
endif
dot = find_program('dot', native : true, required : false)

nix_bin_dir = fs.parent(nix.full_path())
Expand Down

0 comments on commit a9c417d

Please sign in to comment.