We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 705568d commit d5e6fb5Copy full SHA for d5e6fb5
openssl-sys/build/main.rs
@@ -82,9 +82,8 @@ fn main() {
82
// rerun-if-changed causes openssl-sys to rebuild if the openssl include
83
// dir has changed since the last build. However, this causes a rebuild
84
// every time when vendoring so we disable it.
85
- #[cfg(not(feature = "vendored"))]
86
let potential_path = include_dir.join("openssl");
87
- if potential_path.exists() {
+ if potential_path.exists() && !cfg!(feature = "vendored") {
88
if let Some(printable_include) = potential_path.to_str() {
89
println!("cargo:rerun-if-changed={}", printable_include);
90
}
0 commit comments