Skip to content

Commit

Permalink
don't emit rerun-if-changed when vendoring
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Feb 20, 2024
1 parent 4a19cd4 commit 5d2701b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openssl-sys/build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fn main() {
let target = env::var("TARGET").unwrap();

let (lib_dirs, include_dir) = find_openssl(&target);
#[cfg(not(feature = "vendored"))]
if let Some(printable_include) = include_dir.join("openssl").to_str() {
println!("cargo:rerun-if-changed={}", printable_include);
}
Expand Down

0 comments on commit 5d2701b

Please sign in to comment.