opensmtpd-filter-dkimout/build.rs
2023-03-27 22:46:50 +02:00

13 lines
254 B
Rust

use std::env;
const VARLIBDIR_NAME: &str = "VARLIBDIR";
const VARLIBDIR_VALUE_DEFAULT: &str = "/var/lib/";
fn main() {
if env::var(VARLIBDIR_NAME).is_err() {
println!(
"cargo:rustc-env={}={}",
VARLIBDIR_NAME, VARLIBDIR_VALUE_DEFAULT
);
}
}