diff --git a/boring-sys/build/main.rs b/boring-sys/build/main.rs index 86075d3c..3ff818b3 100644 --- a/boring-sys/build/main.rs +++ b/boring-sys/build/main.rs @@ -663,6 +663,10 @@ fn main() { bssl_dir.display(), build_path ); + println!( + "cargo:rustc-link-search=native={}/build", + bssl_dir.display(), + ); } if config.features.fips_link_precompiled {