extern crate gcc; fn main() { // #[cfg(target_os = "linux")] gcc::Config::new() .file("cbits/tun_if.c") .include("cbits") .flag("-std=gnu11") .compile("libtun_if.a"); gcc::Config::new() .file("cbits/checksum.c") .include("cbits") .flag("-std=gnu11") .compile("libchecksum.a"); }