wireguard-control-sys: add appropriate rerun-if-changed

ffi-segfault-fix
Jake McGinty 2021-11-26 00:44:44 +09:00
parent 0d50532c9f
commit 534403b170
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ mod linux {
fn main() {
linux::build_bindings();
linux::build_library();
println!("cargo:rerun-if-changed=c/wireguard.c");
println!("cargo:rerun-if-changed=c/wireguard.h");
}
#[cfg(not(target_os = "linux"))]