Fix building rocksdb library on windows host (#412)

master
Oleksandr Anyshchenko 5 years ago committed by GitHub
parent eac44e64da
commit c10bfe5b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      librocksdb-sys/build.rs

@ -145,7 +145,8 @@ fn build_rocksdb() {
.iter() .iter()
.cloned() .cloned()
.filter(|file| match *file { .filter(|file| match *file {
"port/port_posix.cc" | "env/env_posix.cc" | "env/io_posix.cc" => false, "port/port_posix.cc" | "env/env_posix.cc" | "env/fs_posix.cc"
| "env/io_posix.cc" => false,
_ => true, _ => true,
}) })
.collect::<Vec<&'static str>>(); .collect::<Vec<&'static str>>();

Loading…
Cancel
Save