summary refs log tree commit diff
path: root/libsecret/sys/build.rs
blob: fc0010aad6addb6a6858243f79a2f3a7f8b76175 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Generated by gir (https://github.com/gtk-rs/gir @ 4dd714f7f3b1)
// from
// from gir-files (https://github.com/gtk-rs/gir-files.git @ b9db716f1bb7)
// DO NOT EDIT

#[cfg(not(docsrs))]
use std::process;

#[cfg(docsrs)]
fn main() {} // prevent linking libraries to avoid documentation failure

#[cfg(not(docsrs))]
fn main() {
    if let Err(s) = system_deps::Config::new().probe() {
        println!("cargo:warning={s}");
        process::exit(1);
    }
}