2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/extra/rust/patches/fix-curl.patch
2024-06-18 01:43:16 -05:00

12 lines
486 B
Diff

--- a/vendor/curl-sys-0.4.72+curl-8.6.0/build.rs
+++ b/vendor/curl-sys-0.4.72+curl-8.6.0/build.rs
@@ -111,6 +111,8 @@ fn main() {
.include("curl/lib")
.include("curl/include")
.define("BUILDING_LIBCURL", None)
+ .define("CURL_CA_BUNDLE", "\"/etc/ssl/cert.pem\"")
+ .define("CURL_CA_PATH", "\"/etc/ssl/certs\"")
.define("CURL_DISABLE_DICT", None)
.define("CURL_DISABLE_GOPHER", None)
.define("CURL_DISABLE_IMAP", None)