mirror of
https://github.com/isar/rusqlite.git
synced 2025-02-08 09:38:22 +08:00
Merge pull request #1041 from ur0/patch-1
libsqlite3-sys: darwin: fix crypto link framework
This commit is contained in:
commit
9776b99c37
@ -192,7 +192,7 @@ mod build_bundled {
|
|||||||
println!("cargo:rustc-link-search={}", lib_dir.to_string_lossy());
|
println!("cargo:rustc-link-search={}", lib_dir.to_string_lossy());
|
||||||
} else if is_apple {
|
} else if is_apple {
|
||||||
cfg.flag("-DSQLCIPHER_CRYPTO_CC");
|
cfg.flag("-DSQLCIPHER_CRYPTO_CC");
|
||||||
println!("cargo:rustc-link-lib=framework=SecurityFoundation");
|
println!("cargo:rustc-link-lib=framework=Security");
|
||||||
println!("cargo:rustc-link-lib=framework=CoreFoundation");
|
println!("cargo:rustc-link-lib=framework=CoreFoundation");
|
||||||
} else {
|
} else {
|
||||||
// branch not taken on Windows, just `crypto` is fine.
|
// branch not taken on Windows, just `crypto` is fine.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user