diff options
| author | Steven Fackler <[email protected]> | 2016-11-04 21:10:49 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-11-04 21:10:49 -0700 |
| commit | 91fd58b4c2e31c8114c060bc30a256a089206b3b (patch) | |
| tree | 591107a93c45c6550a74f583e49b12c0fa3e5933 | |
| parent | Improve buildscript logic (diff) | |
| download | rust-openssl-91fd58b4c2e31c8114c060bc30a256a089206b3b.tar.xz rust-openssl-91fd58b4c2e31c8114c060bc30a256a089206b3b.zip | |
More buildscript tweaks
| -rw-r--r-- | openssl-sys/build.rs | 2 | ||||
| -rw-r--r-- | openssl/build.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index 391e75b1..c5968407 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -295,7 +295,7 @@ The build is now aborting due to this version mismatch. vars.push(var); } } - println!("cargo:osslconf={}", vars.join(",")); + println!("cargo:conf={}", vars.join(",")); } return version_text.to_string() diff --git a/openssl/build.rs b/openssl/build.rs index 41847b0f..7a0c60dc 100644 --- a/openssl/build.rs +++ b/openssl/build.rs @@ -16,7 +16,7 @@ fn main() { _ => panic!("Unable to detect OpenSSL version"), } - if let Ok(vars) = env::var("DEP_OPENSSL_OSSLCONF") { + if let Ok(vars) = env::var("DEP_OPENSSL_CONF") { for var in vars.split(",") { println!("cargo:rustc-cfg=osslconf=\"{}\"", var); } |