diff options
| author | Marc-Antoine Perennou <[email protected]> | 2017-09-17 11:43:10 +0200 |
|---|---|---|
| committer | Marc-Antoine Perennou <[email protected]> | 2017-09-17 11:43:25 +0200 |
| commit | 579d4a86d2e1e4bd405b4fd99f2152fcf422b2ca (patch) | |
| tree | 74eec40ed123dc15bcd93ab71c9e9ecca303dcc9 | |
| parent | ci: use libressl 2.6.1 (diff) | |
| download | rust-openssl-579d4a86d2e1e4bd405b4fd99f2152fcf422b2ca.tar.xz rust-openssl-579d4a86d2e1e4bd405b4fd99f2152fcf422b2ca.zip | |
openssl-sys: define libressl version
Signed-off-by: Marc-Antoine Perennou <[email protected]>
| -rw-r--r-- | openssl-sys/build.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index 5071cbd4..82d919c2 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -405,48 +405,56 @@ See rust-openssl README for more information: println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl250"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=250"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_251") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl251"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=251"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_252") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl252"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=252"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_253") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl253"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=253"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_254") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl254"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=254"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_255") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl255"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=255"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_260") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl260"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=250"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_LIBRESSL_261") { println!("cargo:rustc-cfg=libressl"); println!("cargo:rustc-cfg=libressl261"); println!("cargo:libressl=true"); + println!("cargo:libressl_version=261"); println!("cargo:version=101"); Version::Libressl } else if expanded.contains("RUST_OPENSSL_110F") { |