mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Update build.rs
This commit is contained in:
parent
646c9c122b
commit
8785bd903a
@ -185,8 +185,7 @@ mod build_bundled {
|
|||||||
// Windows without `-vendored-openssl` takes this to link against a prebuilt
|
// Windows without `-vendored-openssl` takes this to link against a prebuilt
|
||||||
// OpenSSL lib
|
// OpenSSL lib
|
||||||
cfg.include(inc_dir.to_string_lossy().as_ref());
|
cfg.include(inc_dir.to_string_lossy().as_ref());
|
||||||
let lib = lib_dir.join("libcrypto.lib");
|
println!("cargo:rustc-link-lib=dylib=libcrypto");
|
||||||
cfg.flag(lib.to_string_lossy().as_ref());
|
|
||||||
} else if use_openssl {
|
} else if use_openssl {
|
||||||
cfg.include(inc_dir.to_string_lossy().as_ref());
|
cfg.include(inc_dir.to_string_lossy().as_ref());
|
||||||
// branch not taken on Windows, just `crypto` is fine.
|
// branch not taken on Windows, just `crypto` is fine.
|
||||||
|
Loading…
Reference in New Issue
Block a user