From 50fad182619496c7a0486511313568326459db85 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 2 Jan 2021 17:18:00 +0300 Subject: Cygwin: fix LLVM symlinks also --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4fde9a5..a4e7cd6 100644 --- a/action.yml +++ b/action.yml @@ -153,7 +153,7 @@ runs: # clang/clang++ are Cygwin symlinks, pointing to clang-X.exe. It's # convenient to make proper executables instead so that they can be # called from Windows' command prompt. - find.exe /usr/bin -iname 'clang*' -type l | %{ Fix-CygwinLink $_ } + find.exe /usr/bin -type l -a '-(' -iname 'clang*' -o -iname 'llvm*' '-)' | %{ Fix-CygwinLink $_ } Link-Exe -Exe clang -LinkName cc Link-Exe -Exe clang++ -LinkName c++ -- cgit v1.2.3