Merge pull request #1041 from ur0/patch-1

libsqlite3-sys: darwin: fix crypto link framework
This commit is contained in:
gwenn 2021-11-15 19:19:19 +01:00 committed by GitHub
commit 9776b99c37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ mod build_bundled {
println!("cargo:rustc-link-search={}", lib_dir.to_string_lossy());
} else if is_apple {
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");
} else {
// branch not taken on Windows, just `crypto` is fine.