Skip to content

Commit

Permalink
Link with CoreServices to fix macOs curl init crash (#530)
Browse files Browse the repository at this point in the history
* Link curl with CoreServices

* Bump the package version to prepare for the next release
  • Loading branch information
SomeoneToIgnore authored Oct 9, 2023
1 parent ff9e33f commit 4f10982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion curl-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
version = "0.4.66+curl-8.3.0"
version = "0.4.67+curl-8.3.0"
authors = ["Alex Crichton <[email protected]>"]
links = "curl"
build = "build.rs"
Expand Down
1 change: 1 addition & 0 deletions curl-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ fn main() {
if target.contains("-apple-") {
println!("cargo:rustc-link-lib=framework=Security");
println!("cargo:rustc-link-lib=framework=CoreFoundation");
println!("cargo:rustc-link-lib=framework=CoreServices");
println!("cargo:rustc-link-lib=framework=SystemConfiguration");
}
}
Expand Down

0 comments on commit 4f10982

Please sign in to comment.