vpncloud/build.rs

8 lines
195 B
Rust
Raw Normal View History

2015-11-19 15:34:20 +00:00
extern crate gcc;
2015-11-30 16:27:50 +00:00
extern crate pkg_config;
2015-11-19 15:34:20 +00:00
fn main() {
2015-11-30 16:27:50 +00:00
pkg_config::find_library("libsodium").unwrap();
2015-11-21 16:06:57 +00:00
gcc::Config::new().file("src/c/tuntap.c").include("src").compile("libtuntap.a");
}