Commit 50e370f1 authored by Andrew Hobden's avatar Andrew Hobden Committed by zhangjinpeng1987

librocksdb_sys/build.rs: Support FreeBSD. (#200)

parent 1fc59448
...@@ -91,6 +91,8 @@ fn build_rocksdb() -> Build { ...@@ -91,6 +91,8 @@ fn build_rocksdb() -> Build {
} }
if cfg!(target_os = "macos") { if cfg!(target_os = "macos") {
build.define("OS_MACOSX", None); build.define("OS_MACOSX", None);
} else if cfg!(target_os = "freebsd") {
build.define("OS_FREEBSD", None);
} }
let cur_dir = env::current_dir().unwrap(); let cur_dir = env::current_dir().unwrap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment