From 4f10982ee36ff99d2ac4b552acac8115f929e74c Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Mon, 9 Oct 2023 15:51:11 +0200 Subject: [PATCH] Link with CoreServices to fix macOs curl init crash (#530) * Link curl with CoreServices * Bump the package version to prepare for the next release --- curl-sys/Cargo.toml | 2 +- curl-sys/build.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index c24cd421f..88f2a3b3a 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -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 "] links = "curl" build = "build.rs" diff --git a/curl-sys/build.rs b/curl-sys/build.rs index b373795bf..6c3ae1920 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -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"); } }