--- a/src/llvm/lib_llvm.cr +++ b/src/llvm/lib_llvm.cr @@ -5,7 +5,7 @@ command -v llvm-config-6.0 || command -v llvm-config60 || \ (command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 6.0*) command -v llvm-config;; *) false;; esac)) || \ command -v llvm-config-5.0 || command -v llvm-config50 || \ - (command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 5.0*) command -v llvm-config;; *) false;; esac)) || \ + (command -v llvm5-config > /dev/null && (case "$(llvm5-config --version)" in 5.0*) command -v llvm5-config;; *) false;; esac)) || \ command -v llvm-config-4.0 || command -v llvm-config40 || \ (command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 4.0*) command -v llvm-config;; *) false;; esac)) || \ command -v llvm-config-3.9 || command -v llvm-config39 || \