Skip to content

Commit 4f10982

Browse files
Link with CoreServices to fix macOs curl init crash (#530)
* Link curl with CoreServices * Bump the package version to prepare for the next release
1 parent ff9e33f commit 4f10982

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

curl-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "curl-sys"
3-
version = "0.4.66+curl-8.3.0"
3+
version = "0.4.67+curl-8.3.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
links = "curl"
66
build = "build.rs"

curl-sys/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ fn main() {
443443
if target.contains("-apple-") {
444444
println!("cargo:rustc-link-lib=framework=Security");
445445
println!("cargo:rustc-link-lib=framework=CoreFoundation");
446+
println!("cargo:rustc-link-lib=framework=CoreServices");
446447
println!("cargo:rustc-link-lib=framework=SystemConfiguration");
447448
}
448449
}

0 commit comments

Comments
 (0)