gstreamer-rs/gstreamer-play/sys/build.rs

19 lines
510 B
Rust
Raw Normal View History

// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
2022-05-15 16:13:37 +00:00
// DO NOT EDIT
#[cfg(not(docsrs))]
2022-05-15 16:13:37 +00:00
use std::process;
#[cfg(docsrs)]
2022-05-15 16:13:37 +00:00
fn main() {} // prevent linking libraries to avoid documentation failure
#[cfg(not(docsrs))]
2022-05-15 16:13:37 +00:00
fn main() {
if let Err(s) = system_deps::Config::new().probe() {
println!("cargo:warning={s}");
2022-05-15 16:13:37 +00:00
process::exit(1);
}
}