We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb72e11 commit 33eb3e3Copy full SHA for 33eb3e3
nginx-sys/build/main.rs
@@ -72,6 +72,14 @@ fn main() -> Result<(), BoxError> {
72
println!("cargo:rerun-if-changed=build/wrapper.h");
73
74
let nginx = NginxSource::from_env();
75
+ println!(
76
+ "cargo:rerun-if-changed={}",
77
+ nginx.build_dir.join("Makefile").to_string_lossy()
78
+ );
79
80
81
+ nginx.build_dir.join("ngx_auto_config.h").to_string_lossy()
82
83
// Read autoconf generated makefile for NGINX and generate Rust bindings based on its includes
84
generate_binding(&nginx);
85
Ok(())
0 commit comments