Fix building with BORING_BSSL_PATH / BORING_BSSL_FIPS_PATH
When passing BORING_BSSL_FIPS_PATH, you need to add /lib/ to the search path, and when passing BORING_BSSL_PATH you need to add /crypto/ and /ssl/ to the search path.
This commit is contained in:
parent
5aed467dcb
commit
d3a42b0aeb
|
|
@ -637,7 +637,7 @@ fn main() {
|
|||
let bssl_dir = built_boring_source_path(&config);
|
||||
let build_path = get_boringssl_platform_output_path(&config);
|
||||
|
||||
if config.is_bazel {
|
||||
if config.is_bazel || (config.features.fips && config.env.path.is_some()) {
|
||||
println!(
|
||||
"cargo:rustc-link-search=native={}/lib/{}",
|
||||
bssl_dir.display(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue