Skip to content

Commit

Permalink
maybe cache better, but probably need to do this in other build scripts
Browse files Browse the repository at this point in the history
too
  • Loading branch information
reaperhulk committed Jan 29, 2024
1 parent 49bf4e4 commit 6d35bc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rust/cryptography-cffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ fn main() {
let out_dir = env::var("OUT_DIR").unwrap();
// FIXME: maybe pyo3-build-config should provide a way to do this?
let python = env::var("PYO3_PYTHON").unwrap_or_else(|_| "python3".to_string());
if let Ok(dir) = env::var("OPENSSL_DIR") {
println!("cargo:rerun-if-changed={}", dir);
};
println!("cargo:rerun-if-env-changed=PYO3_PYTHON");
println!("cargo:rerun-if-changed=../../_cffi_src/");
println!("cargo:rerun-if-changed=../../cryptography/__about__.py");
Expand Down

0 comments on commit 6d35bc0

Please sign in to comment.