diff options
| author | Marc-Antoine Perennou <[email protected]> | 2017-09-17 19:46:05 +0200 |
|---|---|---|
| committer | Marc-Antoine Perennou <[email protected]> | 2017-09-17 19:46:05 +0200 |
| commit | 50918303790805d75521ceeabe168e87eebbbd0f (patch) | |
| tree | a9942247859a1d61645b687fac67b7ff46752afa /openssl/build.rs | |
| parent | opensslè-sys: adjust some constants to libressl 2.6.1 (diff) | |
| download | archived-rust-openssl-50918303790805d75521ceeabe168e87eebbbd0f.tar.xz archived-rust-openssl-50918303790805d75521ceeabe168e87eebbbd0f.zip | |
openssl: libressl 2.6.1 dropped suuport for npn
Signed-off-by: Marc-Antoine Perennou <[email protected]>
Diffstat (limited to 'openssl/build.rs')
| -rw-r--r-- | openssl/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl/build.rs b/openssl/build.rs index 954e9b0c..eb8894fd 100644 --- a/openssl/build.rs +++ b/openssl/build.rs @@ -20,6 +20,10 @@ fn main() { println!("cargo:rustc-cfg=libressl"); } + if let Ok(v) = env::var("DEP_OPENSSL_LIBRESSL_VERSION") { + println!("cargo:rustc-cfg=libressl{}", v); + } + if let Ok(vars) = env::var("DEP_OPENSSL_CONF") { for var in vars.split(",") { println!("cargo:rustc-cfg=osslconf=\"{}\"", var); |