mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
14 lines
295 B
Rust
14 lines
295 B
Rust
// include!("src/lib/audit_loglevel.rs");
|
|
|
|
use std::env;
|
|
|
|
fn main() {
|
|
if let Ok(v) = env::var("DEP_OPENSSL_VERSION_NUMBER") {
|
|
let version = u64::from_str_radix(&v, 16).unwrap();
|
|
|
|
if version >= 0x3000_0000 {
|
|
println!("cargo:rustc-cfg=openssl3");
|
|
}
|
|
}
|
|
}
|