aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 17:18:00 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 17:24:59 +0300
commit50fad182619496c7a0486511313568326459db85 (patch)
treee30b3244d5777bc9c7559758b19638607ce00a8a
parentcode style (diff)
downloadsetup-clang-50fad182619496c7a0486511313568326459db85.tar.gz
setup-clang-50fad182619496c7a0486511313568326459db85.zip
Cygwin: fix LLVM symlinks also
-rw-r--r--action.yml2
1 files changed, 1 insertions, 1 deletions
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++