diff options
| author | Tatsuyuki Ishi <[email protected]> | 2018-09-25 16:17:12 +0900 |
|---|---|---|
| committer | Tatsuyuki Ishi <[email protected]> | 2018-09-25 22:00:20 +0900 |
| commit | 3b73dda4b31c2b8ea8417fb6d68e451d2e4b3633 (patch) | |
| tree | 82bdb5ed14597ed275a4a7459e170872edde34b5 /openssl/build.rs | |
| parent | Raise requirement to 1.21.0 (diff) | |
| download | rust-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.rs | 5 |
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"), } |