We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3439059 commit 94a3203Copy full SHA for 94a3203
openssl-sys/build/main.rs
@@ -84,7 +84,9 @@ fn main() {
84
// every time when vendoring so we disable it.
85
#[cfg(not(feature = "vendored"))]
86
if let Some(printable_include) = include_dir.join("openssl").to_str() {
87
- println!("cargo:rerun-if-changed={}", printable_include);
+ if include_dir.join("openssl").exists() {
88
+ println!("cargo:rerun-if-changed={}", printable_include);
89
+ }
90
}
91
92
if !lib_dirs.iter().all(|p| p.exists()) {
0 commit comments