Niko PLP 1 year ago
parent f38ba3b06f
commit e220f4f9e6
  1. 6
      librocksdb-sys/build.rs

@ -157,7 +157,8 @@ fn build_rocksdb() {
.display() .display()
); );
println!("cargo:rustc-link-lib=static=ippcp"); println!("cargo:rustc-link-lib=static=ippcp");
} else {//if !target.contains("openbsd") { } else {
//if !target.contains("openbsd") {
if let Some(include) = std::env::var_os("DEP_OPENSSL_INCLUDE") { if let Some(include) = std::env::var_os("DEP_OPENSSL_INCLUDE") {
config.include(include); config.include(include);
} else { } else {
@ -172,8 +173,7 @@ fn build_rocksdb() {
// .display() // .display()
// ); // );
// println!("cargo:rustc-link-lib=static=crypto"); // println!("cargo:rustc-link-lib=static=crypto");
} else { }
}
if target.contains("apple-ios") { if target.contains("apple-ios") {
config.define("OS_MACOSX", None); config.define("OS_MACOSX", None);

Loading…
Cancel
Save