1
2
3
4
fn main() {
    #[cfg(target_os = "linux")]
    println!("cargo:rustc-link-lib=X11")
}