Set ossl110 when version is 1.1.1
This commit is contained in:
parent
e8fd63bae3
commit
9d3b02e58a
|
|
@ -28,6 +28,9 @@ fn main() {
|
||||||
is_libressl = true;
|
is_libressl = true;
|
||||||
} else if let Ok(version) = env::var("DEP_OPENSSL_VERSION") {
|
} else if let Ok(version) = env::var("DEP_OPENSSL_VERSION") {
|
||||||
cfg.cfg(&format!("ossl{}", version), None);
|
cfg.cfg(&format!("ossl{}", version), None);
|
||||||
|
if version == "111" {
|
||||||
|
cfg.cfg("ossl110", None);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if let (Ok(version), Ok(patch)) = (
|
if let (Ok(version), Ok(patch)) = (
|
||||||
env::var("DEP_OPENSSL_VERSION"),
|
env::var("DEP_OPENSSL_VERSION"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue