fix openbsd build

master
Niko PLP 6 months ago
parent 95ec9536b1
commit 8fd0dab111
  1. 2
      librocksdb-sys/build.rs

@ -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");
} }

Loading…
Cancel
Save