|
|
|
@ -232,8 +232,9 @@ if !target.contains("openbsd") { |
|
|
|
|
config.define("_REENTRANT", None); |
|
|
|
|
config.include("rocksdb/plugin/openssl/include"); |
|
|
|
|
lib_sources.push("plugin/openssl/openssl_provider.cc"); |
|
|
|
|
let dir = env::var("CARGO_MANIFEST_DIR").unwrap(); |
|
|
|
|
println!("cargo:rustc-link-lib=static=crypto"); |
|
|
|
|
// let dir = env::var("CARGO_MANIFEST_DIR").unwrap();
|
|
|
|
|
println!("cargo:rustc-link-arg=-lcrypto"); |
|
|
|
|
// println!("cargo:rustc-link-lib=static=crypto");
|
|
|
|
|
} else if target.contains("windows") { |
|
|
|
|
link("rpcrt4", false); |
|
|
|
|
link("shlwapi", false); |
|
|
|
|