Skip to content

Commit

Permalink
Merge pull request #2094 from BlackDex/fix-32bit-static-build
Browse files Browse the repository at this point in the history
Remove dynamic allocation of atomic
  • Loading branch information
sfackler authored Nov 24, 2023
2 parents cab7c18 + b1b0acf commit 5b5b8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl-sys/build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ fn main() {
|| env::var("CARGO_CFG_TARGET_OS").unwrap() == "android")
&& env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32"
{
println!("cargo:rustc-link-lib=dylib=atomic");
println!("cargo:rustc-link-lib=atomic");
}

if kind == "static" && target.contains("windows") {
Expand Down

0 comments on commit 5b5b8c9

Please sign in to comment.