More buildscript tweaks

This commit is contained in:
Steven Fackler 2016-11-04 21:10:49 -07:00
parent 9198bcda3a
commit 91fd58b4c2
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ The build is now aborting due to this version mismatch.
vars.push(var); vars.push(var);
} }
} }
println!("cargo:osslconf={}", vars.join(",")); println!("cargo:conf={}", vars.join(","));
} }
return version_text.to_string() return version_text.to_string()

View File

@ -16,7 +16,7 @@ fn main() {
_ => panic!("Unable to detect OpenSSL version"), _ => 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(",") { for var in vars.split(",") {
println!("cargo:rustc-cfg=osslconf=\"{}\"", var); println!("cargo:rustc-cfg=osslconf=\"{}\"", var);
} }