1
0
mirror of https://github.com/containers/youki synced 2024-11-23 17:32:15 +01:00
youki/crates/libseccomp/build.rs
2021-10-22 22:05:14 +02:00

15 lines
324 B
Rust

const MINIMUM_VERSION: &str = "2.5";
const PKG_NAME: &str = "libseccomp";
fn main() {
match pkg_config::Config::new()
.atleast_version(MINIMUM_VERSION)
.probe(PKG_NAME)
{
Ok(_) => {}
Err(err) => {
eprintln!("{}", err);
std::process::exit(1);
}
}
}