mirror of
https://github.com/containers/youki
synced 2024-11-24 01:44:17 +01:00
15 lines
324 B
Rust
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);
|
||
|
}
|
||
|
}
|
||
|
}
|