blob: 15d4b4db8f6458808da16687df0df582b1082d4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
use std::env;
fn main() {
if env::var("DEP_OPENSSL_IS_101").is_ok() {
println!("cargo:rustc-cfg=ossl101");
println!("cargo:rustc-cfg=ossl10x");
}
if env::var("DEP_OPENSSL_IS_102").is_ok() {
println!("cargo:rustc-cfg=ossl102");
println!("cargo:rustc-cfg=ossl10x");
}
if env::var("DEP_OPENSSL_IS_110").is_ok() {
println!("cargo:rustc-cfg=ossl110");
}
}
|