Codebase list rust-stfu8 / 327ecf9
update curl-sys Ximin Luo 4 years ago
2 changed file(s) with 22 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 rust-curl-sys (0.4.30-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package curl-sys 0.4.30+curl-7.69.1 from crates.io using debcargo 2.4.2
3 * Fix static linking for autopkgtests.
4
5 -- Ximin Luo <infinity0@debian.org> Tue, 21 Apr 2020 21:09:04 +0100
6
07 rust-curl-sys (0.4.30-1) unstable; urgency=medium
18
29 * Package curl-sys 0.4.30+curl-7.69.1 from crates.io using debcargo 2.4.2
00 --- a/Cargo.toml
11 +++ b/Cargo.toml
2 @@ -47,7 +47,7 @@
2 @@ -49,7 +49,7 @@
33 spnego = []
44 ssl = ["openssl-sys"]
55 static-curl = []
88 [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-sys]
99 version = "0.9"
1010 optional = true
11 --- a/build.rs
12 +++ b/build.rs
13 @@ -19,8 +19,9 @@
14 return println!("cargo:rustc-flags=-l curl");
15 }
16
17 - // If the static-curl feature is disabled, probe for a system-wide libcurl.
18 - if !cfg!(feature = "static-curl") {
19 + // On Debian, always probe for a system-wide libcurl even when linking statically
20 + if true {
21 + if cfg!(feature = "static-curl") { println!("cargo:static=1"); }
22 // OSX and Haiku ships libcurl by default, so we just use that version
23 // so long as it has the right features enabled.
24 if target.contains("apple") || target.contains("haiku") {