We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 84162bf + 54621a9 commit 3acf2efCopy full SHA for 3acf2ef
openssl-sys/build/main.rs
@@ -79,6 +79,9 @@ fn main() {
79
let target = env::var("TARGET").unwrap();
80
81
let (lib_dirs, include_dir) = find_openssl(&target);
82
+ if let Some(printable_include) = include_dir.join("openssl").to_str() {
83
+ println!("cargo:rerun-if-changed={}", printable_include);
84
+ }
85
86
if !lib_dirs.iter().all(|p| p.exists()) {
87
panic!("OpenSSL library directory does not exist: {:?}", lib_dirs);
0 commit comments