More buildscript tweaks
This commit is contained in:
parent
9198bcda3a
commit
91fd58b4c2
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue