Skip to content

Commit

Permalink
Rerun build script if KERNEL environment variable has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Apr 1, 2019
1 parent b93414f commit 01a0828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fn main() {
process::exit(1);
}

println!("cargo:rerun-if-env-changed=KERNEL");
println!("cargo:rerun-if-changed={}", kernel.display());
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rustc-link-search=native={}", out_dir.display());
Expand Down

0 comments on commit 01a0828

Please sign in to comment.