use std::env;
fn main() {
if let Ok(path) = env::var("LIBSECCOMP_LIB_PATH") {
println!("cargo:rustc-link-search=native={}", path);
}
let link_type = match env::var("LIBSECCOMP_LINK_TYPE") {
Ok(v) => v, Err(_) => String::from("dylib"),
};
println!("cargo:rustc-link-lib={}=seccomp", link_type);
}