#[cfg(feature = "docs-rs")]
fn main() {}
#[cfg(not(feature = "docs-rs"))]
fn main() {
let make = std::env::var("MAKE").unwrap_or_else(|_| "make".to_string());
std::process::Command::new(make)
.current_dir("..")
.output()
.unwrap();
println!("cargo:rustc-link-search=native=..");
println!("cargo:rustc-link-search=native=.");
println!("cargo:rustc-link-lib=static=imaged");
pkg_config::probe_library("babl").unwrap();
pkg_config::probe_library("ezimage").unwrap();
let _ = pkg_config::probe_library("libraw");
}