fix crypto lib linking

master
Niko PLP 1 year ago
parent e442d4082a
commit ac80a50696
  1. 4
      librocksdb-sys/build.rs

@ -234,8 +234,8 @@ fn build_rocksdb() {
config.define("ROCKSDB_PLATFORM_POSIX", None);
config.define("ROCKSDB_LIB_IO_POSIX", None);
println!("cargo:rustc-link-arg=-pthread");
println!("cargo:rustc-link-lib=static=execinfo");
println!("cargo:rustc-link-lib=static=crypto");
//println!("cargo:rustc-link-lib=execinfo");
println!("cargo:rustc-link-lib=crypto");
config.flag("-fno-builtin-memcmp");
config.flag_if_supported("-faligned-new");
config.flag("-Wshorten-64-to-32");

Loading…
Cancel
Save