Always dump openssl confs

This commit is contained in:
Steven Fackler 2016-11-04 21:15:07 -07:00
parent 91fd58b4c2
commit fb9420fc91
1 changed files with 44 additions and 46 deletions

View File

@ -247,7 +247,6 @@ The build is now aborting due to this version mismatch.
// file of OpenSSL, `opensslconf.h`, and then dump out everything it defines
// as our own #[cfg] directives. That way the `ossl10x.rs` bindings can
// account for compile differences and such.
if version_text.contains("0x1000") {
let mut conf_header = String::new();
let mut include = include_dirs.iter()
.map(|p| p.join("openssl/opensslconf.h"))
@ -296,7 +295,6 @@ The build is now aborting due to this version mismatch.
}
}
println!("cargo:conf={}", vars.join(","));
}
return version_text.to_string()
}