gstreamer-rs/gstreamer-net/sys/build.rs

19 lines
570 B
Rust
Raw Normal View History

2022-04-04 13:15:24 +00:00
// Generated by gir (https://github.com/gtk-rs/gir @ 9aa16ead87e1)
2022-02-04 12:02:45 +00:00
// from gir-files (https://github.com/gtk-rs/gir-files @ 3ff4d3275258)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 233e3205cb17)
2019-03-19 07:37:29 +00:00
// DO NOT EDIT
2020-11-27 13:37:24 +00:00
#[cfg(not(feature = "dox"))]
2017-04-13 17:36:14 +00:00
use std::process;
2020-11-27 13:37:24 +00:00
#[cfg(feature = "dox")]
2019-08-05 10:06:30 +00:00
fn main() {} // prevent linking libraries to avoid documentation failure
2020-11-27 13:37:24 +00:00
#[cfg(not(feature = "dox"))]
2017-04-13 17:36:14 +00:00
fn main() {
2020-06-23 14:12:51 +00:00
if let Err(s) = system_deps::Config::new().probe() {
println!("cargo:warning={}", s);
2017-04-13 17:36:14 +00:00
process::exit(1);
}
}