gstreamer-rs/gstreamer-rtp-sys/build.rs

25 lines
637 B
Rust
Raw Normal View History

2020-06-23 14:12:51 +00:00
// This file was generated by gir (https://github.com/gtk-rs/gir @ 30b3c82)
// from gir-files (https://github.com/gtk-rs/gir-files @ d848d25)
2019-08-12 20:52:59 +00:00
// DO NOT EDIT
#[cfg(not(feature = "dox"))]
2020-06-23 14:12:51 +00:00
extern crate system_deps;
2019-08-12 20:52:59 +00:00
#[cfg(not(feature = "dox"))]
use std::io;
#[cfg(not(feature = "dox"))]
use std::io::prelude::*;
#[cfg(not(feature = "dox"))]
use std::process;
#[cfg(feature = "dox")]
fn main() {} // prevent linking libraries to avoid documentation failure
#[cfg(not(feature = "dox"))]
fn main() {
2020-06-23 14:12:51 +00:00
if let Err(s) = system_deps::Config::new().probe() {
2019-08-12 20:52:59 +00:00
let _ = writeln!(io::stderr(), "{}", s);
process::exit(1);
}
}