Merge pull request #666 from ibabushkin/master
Support for LibreSSL 2.5.5
This commit is contained in:
commit
a318e88712
|
|
@ -264,6 +264,8 @@ fn validate_headers(include_dirs: &[PathBuf]) -> Version {
|
||||||
RUST_LIBRESSL_NEW
|
RUST_LIBRESSL_NEW
|
||||||
#elif LIBRESSL_VERSION_NUMBER >= 0x20600000
|
#elif LIBRESSL_VERSION_NUMBER >= 0x20600000
|
||||||
RUST_LIBRESSL_260
|
RUST_LIBRESSL_260
|
||||||
|
#elif LIBRESSL_VERSION_NUMBER >= 0x20505000
|
||||||
|
RUST_LIBRESSL_255
|
||||||
#elif LIBRESSL_VERSION_NUMBER >= 0x20504000
|
#elif LIBRESSL_VERSION_NUMBER >= 0x20504000
|
||||||
RUST_LIBRESSL_254
|
RUST_LIBRESSL_254
|
||||||
#elif LIBRESSL_VERSION_NUMBER >= 0x20503000
|
#elif LIBRESSL_VERSION_NUMBER >= 0x20503000
|
||||||
|
|
@ -378,6 +380,12 @@ See rust-openssl README for more information:
|
||||||
println!("cargo:libressl=true");
|
println!("cargo:libressl=true");
|
||||||
println!("cargo:version=101");
|
println!("cargo:version=101");
|
||||||
Version::Libressl
|
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:version=101");
|
||||||
|
Version::Libressl
|
||||||
} else if expanded.contains("RUST_LIBRESSL_260") {
|
} else if expanded.contains("RUST_LIBRESSL_260") {
|
||||||
println!("cargo:rustc-cfg=libressl");
|
println!("cargo:rustc-cfg=libressl");
|
||||||
println!("cargo:rustc-cfg=libressl260");
|
println!("cargo:rustc-cfg=libressl260");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue