Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Fix FreeBSD build
Browse files Browse the repository at this point in the history
  • Loading branch information
wdv4758h committed Aug 22, 2016
1 parent 485dd74 commit a10cd68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rocksdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ fn main() {
config.define("OS_LINUX", Some("1"));
//COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp"
}
if cfg!(target_os = "freebsd") {
config.define("OS_FREEBSD", Some("1"));
}

if cfg!(windows) {
link("rpcrt4", false);
Expand Down

0 comments on commit a10cd68

Please sign in to comment.