diff options
| author | Ossi Herrala <[email protected]> | 2018-04-03 09:26:50 +0000 |
|---|---|---|
| committer | Ossi Herrala <[email protected]> | 2018-04-03 09:26:50 +0000 |
| commit | 01855a4f6470db6d71bccece1db33bc4b89b4c9b (patch) | |
| tree | 84ddbbc1675ef5823c771014573abea66dfd9ee9 | |
| parent | Add LibreSSL 2.7.2 (diff) | |
| download | rust-openssl-01855a4f6470db6d71bccece1db33bc4b89b4c9b.tar.xz rust-openssl-01855a4f6470db6d71bccece1db33bc4b89b4c9b.zip | |
Combine LibreSSL 2.7.x versions into one
| -rw-r--r-- | openssl-sys/build.rs | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index d3c158c8..b139811e 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -325,14 +325,8 @@ fn validate_headers(include_dirs: &[PathBuf]) -> Version { #if LIBRESSL_VERSION_NUMBER >= 0x20800000 RUST_LIBRESSL_NEW -#elif LIBRESSL_VERSION_NUMBER >= 0x20703000 -RUST_LIBRESSL_27X -#elif LIBRESSL_VERSION_NUMBER >= 0x20702000 -RUST_LIBRESSL_272 -#elif LIBRESSL_VERSION_NUMBER >= 0x20701000 -RUST_LIBRESSL_271 #elif LIBRESSL_VERSION_NUMBER >= 0x20700000 -RUST_LIBRESSL_270 +RUST_LIBRESSL_27X #elif LIBRESSL_VERSION_NUMBER >= 0x20603000 RUST_LIBRESSL_26X #elif LIBRESSL_VERSION_NUMBER >= 0x20602000 @@ -481,27 +475,6 @@ See rust-openssl README for more information: println!("cargo:libressl_version=26x"); println!("cargo:version=101"); Version::Libressl - } else if expanded.contains("RUST_LIBRESSL_270") { - println!("cargo:rustc-cfg=libressl"); - println!("cargo:rustc-cfg=libressl27"); - println!("cargo:libressl=true"); - println!("cargo:libressl_version=270"); - println!("cargo:version=101"); - Version::Libressl - } else if expanded.contains("RUST_LIBRESSL_271") { - println!("cargo:rustc-cfg=libressl"); - println!("cargo:rustc-cfg=libressl27"); - println!("cargo:libressl=true"); - println!("cargo:libressl_version=271"); - println!("cargo:version=101"); - Version::Libressl - } else if expanded.contains("RUST_LIBRESSL_272") { - println!("cargo:rustc-cfg=libressl"); - println!("cargo:rustc-cfg=libressl27"); - println!("cargo:libressl=true"); - println!("cargo:libressl_version=272"); - println!("cargo:version=101"); - Version::Libressl } else if expanded.contains("RUST_LIBRESSL_27X") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl27"); |