aboutsummaryrefslogtreecommitdiff
path: root/openssl/build.rs
diff options
context:
space:
mode:
authorTatsuyuki Ishi <[email protected]>2018-09-25 16:17:12 +0900
committerTatsuyuki Ishi <[email protected]>2018-09-25 22:00:20 +0900
commit3b73dda4b31c2b8ea8417fb6d68e451d2e4b3633 (patch)
tree82bdb5ed14597ed275a4a7459e170872edde34b5 /openssl/build.rs
parentRaise requirement to 1.21.0 (diff)
downloadrust-openssl-0.9.x.tar.xz
rust-openssl-0.9.x.zip
Add support for OpenSSL 1.1.10.9.x
Diffstat (limited to 'openssl/build.rs')
-rw-r--r--openssl/build.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/openssl/build.rs b/openssl/build.rs
index eb8894fd..6af69b40 100644
--- a/openssl/build.rs
+++ b/openssl/build.rs
@@ -12,6 +12,11 @@ fn main() {
}
Ok(ref v) if v == "110" => {
println!("cargo:rustc-cfg=ossl110");
+ println!("cargo:rustc-cfg=ossl11x");
+ }
+ Ok(ref v) if v == "111" => {
+ println!("cargo:rustc-cfg=ossl111");
+ println!("cargo:rustc-cfg=ossl11x");
}
_ => panic!("Unable to detect OpenSSL version"),
}