Blame SOURCES/runtime-arm64-lld-fix.patch

8d396f
diff --git a/eng/native/init-compiler.sh b/eng/native/init-compiler.sh
8d396f
index 567d18da474..927b3071e92 100755
8d396f
--- a/eng/native/init-compiler.sh
8d396f
+++ b/eng/native/init-compiler.sh
8d396f
@@ -108,7 +108,7 @@ if [[ -z "$CC" ]]; then
8d396f
 fi
8d396f
 
8d396f
 if [[ "$compiler" == "clang" ]]; then
8d396f
-    if command -v "lld$desired_version" > /dev/null; then
8d396f
+    if command -v lld || command -v "lld$desired_version" > /dev/null; then
8d396f
         # Only lld version >= 9 can be considered stable
8d396f
         if [[ "$majorVersion" -ge 9 ]]; then
8d396f
             LDFLAGS="-fuse-ld=lld"