We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 597a439 + e67e733 commit 6fa1bf0Copy full SHA for 6fa1bf0
build.rs
@@ -1,6 +1,12 @@
1
use std::env;
2
3
fn main() {
4
+ println!(
5
+ "cargo::rustc-check-cfg=cfg(\
6
+ need_openssl_init,\
7
+ need_openssl_probe,\
8
+ )"
9
+ );
10
// OpenSSL >= 1.1.0 can be initialized concurrently and is initialized correctly by libcurl.
11
// <= 1.0.2 need locking callbacks, which are provided by openssl_sys::init().
12
let use_openssl = match env::var("DEP_OPENSSL_VERSION_NUMBER") {
curl-sys/build.rs
@@ -5,6 +5,14 @@ use std::process::Command;
println!("cargo:rerun-if-changed=curl");
+ libcurl_vendored,\
+ link_libnghttp2,\
+ link_libz,\
13
+ link_openssl,\
14
15
16
let target = env::var("TARGET").unwrap();
17
let windows = target.contains("windows");
18
0 commit comments