|
|
@ -464,7 +464,7 @@ fn main() { |
|
|
|
} |
|
|
|
} |
|
|
|
let target = env::var("TARGET").unwrap(); |
|
|
|
let target = env::var("TARGET").unwrap(); |
|
|
|
if target.contains("openbsd") { |
|
|
|
if target.contains("openbsd") { |
|
|
|
env::set_var("LIBCLANG_PATH", "/usr/local/lib"); |
|
|
|
env::set_var("LIBCLANG_PATH", "/usr/local/llvm17/lib"); |
|
|
|
} else if target.contains("windows") { |
|
|
|
} else if target.contains("windows") { |
|
|
|
env::set_var("LIBCLANG_PATH", "C:\\Program Files\\LLVM\\bin"); |
|
|
|
env::set_var("LIBCLANG_PATH", "C:\\Program Files\\LLVM\\bin"); |
|
|
|
} |
|
|
|
} |
|
|
|