|
|
@ -1,17 +1,17 @@
|
|
|
|
From b0143ab5f65f5ddc83ca25a4a730fefd0b3cbf77 Mon Sep 17 00:00:00 2001
|
|
|
|
From e5f806557a9a83492b3000942fa0833316d066cd Mon Sep 17 00:00:00 2001
|
|
|
|
From: Fabio Valentini <decathorpe@gmail.com>
|
|
|
|
From: Fabio Valentini <decathorpe@gmail.com>
|
|
|
|
Date: Tue, 19 Sep 2023 21:03:22 +0200
|
|
|
|
Date: Tue, 17 Oct 2023 13:21:16 +0200
|
|
|
|
Subject: [PATCH] unconditionally use pkg-config to link with system libcurl
|
|
|
|
Subject: [PATCH] unconditionally use pkg-config to link with system libcurl
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
build.rs | 583 +------------------------------------------------------
|
|
|
|
build.rs | 584 +------------------------------------------------------
|
|
|
|
1 file changed, 5 insertions(+), 578 deletions(-)
|
|
|
|
1 file changed, 5 insertions(+), 579 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/build.rs b/build.rs
|
|
|
|
diff --git a/build.rs b/build.rs
|
|
|
|
index b373795..497789c 100644
|
|
|
|
index 74f601b..497789c 100644
|
|
|
|
--- a/build.rs
|
|
|
|
--- a/build.rs
|
|
|
|
+++ b/build.rs
|
|
|
|
+++ b/build.rs
|
|
|
|
@@ -1,607 +1,34 @@
|
|
|
|
@@ -1,608 +1,34 @@
|
|
|
|
-use std::env;
|
|
|
|
-use std::env;
|
|
|
|
-use std::fs;
|
|
|
|
-use std::fs;
|
|
|
|
-use std::path::{Path, PathBuf};
|
|
|
|
-use std::path::{Path, PathBuf};
|
|
|
@ -114,7 +114,7 @@ index b373795..497789c 100644
|
|
|
|
- .replace("@LIBCURL_LIBS@", "")
|
|
|
|
- .replace("@LIBCURL_LIBS@", "")
|
|
|
|
- .replace("@SUPPORT_FEATURES@", "")
|
|
|
|
- .replace("@SUPPORT_FEATURES@", "")
|
|
|
|
- .replace("@SUPPORT_PROTOCOLS@", "")
|
|
|
|
- .replace("@SUPPORT_PROTOCOLS@", "")
|
|
|
|
- .replace("@CURLVERSION@", "8.3.0"),
|
|
|
|
- .replace("@CURLVERSION@", "8.4.0"),
|
|
|
|
- )
|
|
|
|
- )
|
|
|
|
- .unwrap();
|
|
|
|
- .unwrap();
|
|
|
|
-
|
|
|
|
-
|
|
|
@ -457,6 +457,7 @@ index b373795..497789c 100644
|
|
|
|
- if target.contains("-apple-") {
|
|
|
|
- if target.contains("-apple-") {
|
|
|
|
- println!("cargo:rustc-link-lib=framework=Security");
|
|
|
|
- println!("cargo:rustc-link-lib=framework=Security");
|
|
|
|
- println!("cargo:rustc-link-lib=framework=CoreFoundation");
|
|
|
|
- println!("cargo:rustc-link-lib=framework=CoreFoundation");
|
|
|
|
|
|
|
|
- println!("cargo:rustc-link-lib=framework=CoreServices");
|
|
|
|
- println!("cargo:rustc-link-lib=framework=SystemConfiguration");
|
|
|
|
- println!("cargo:rustc-link-lib=framework=SystemConfiguration");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-}
|
|
|
|