Skip to content

Commit 2b0eefb

Browse files
authored
Merge pull request #49 from hkgumbs/fix-pkgcfg-linux
Try explicit version number first
2 parents 20173ff + f5e5e33 commit 2b0eefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/make-pkgconfig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func makeFile() throws {
5858
let cllvmPath = pkgConfigDir.appendingPathComponent("cllvm.pc")
5959

6060
/// Ensure we have llvm-config in the PATH
61-
guard let llvmConfig = which("llvm-config") else {
61+
guard let llvmConfig = which("llvm-config-3.9") ?? which("llvm-config") else {
6262
throw "Failed to find llvm-config. Ensure llvm-config is installed and " +
6363
"in your PATH"
6464
}

0 commit comments

Comments
 (0)