1
0
mirror of https://github.com/containers/youki synced 2024-11-24 01:44:17 +01:00
youki/crates/libseccomp/build.rs

15 lines
324 B
Rust
Raw Normal View History

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);
}
}
}