Always dump openssl confs
This commit is contained in:
parent
91fd58b4c2
commit
fb9420fc91
|
|
@ -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
|
// file of OpenSSL, `opensslconf.h`, and then dump out everything it defines
|
||||||
// as our own #[cfg] directives. That way the `ossl10x.rs` bindings can
|
// as our own #[cfg] directives. That way the `ossl10x.rs` bindings can
|
||||||
// account for compile differences and such.
|
// account for compile differences and such.
|
||||||
if version_text.contains("0x1000") {
|
|
||||||
let mut conf_header = String::new();
|
let mut conf_header = String::new();
|
||||||
let mut include = include_dirs.iter()
|
let mut include = include_dirs.iter()
|
||||||
.map(|p| p.join("openssl/opensslconf.h"))
|
.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(","));
|
println!("cargo:conf={}", vars.join(","));
|
||||||
}
|
|
||||||
|
|
||||||
return version_text.to_string()
|
return version_text.to_string()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue