diff --git a/src/llvm/ext/find-llvm-config b/src/llvm/ext/find-llvm-config index bdd308d5fc46..eaceefda81be 100755 --- a/src/llvm/ext/find-llvm-config +++ b/src/llvm/ext/find-llvm-config @@ -8,7 +8,7 @@ if ! LLVM_CONFIG=$(command -v "$LLVM_CONFIG"); then ([ "${llvm_config_version#"$version"}" != "$llvm_config_version" ] && command -v llvm-config) || \ command -v llvm-config-"${version%.*}" || \ command -v llvm-config-"$version" || \ - command -v llvm-config"${version%.*}""${version#*.}" || \ + command -v "llvm-config${version%.*}${version#*.}" || \ command -v llvm-config"${version%.*}" || \ command -v llvm-config"$version" || \ command -v llvm"${version%.*}"-config)