Skip to content

Commit 32a303a

Browse files
authored
Remove manual libatomic reference
The upstream bug has been fixed.
1 parent 8d3a54e commit 32a303a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

openssl-sys/build/main.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,6 @@ fn main() {
122122
println!("cargo:rustc-link-lib={}={}", kind, lib);
123123
}
124124

125-
// https://github.com/openssl/openssl/pull/15086
126-
if version == Version::Openssl3xx
127-
&& kind == "static"
128-
&& (env::var("CARGO_CFG_TARGET_OS").unwrap() == "linux"
129-
|| env::var("CARGO_CFG_TARGET_OS").unwrap() == "android")
130-
&& env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32"
131-
{
132-
println!("cargo:rustc-link-lib=dylib=atomic");
133-
}
134-
135125
if kind == "static" && target.contains("windows") {
136126
println!("cargo:rustc-link-lib=dylib=gdi32");
137127
println!("cargo:rustc-link-lib=dylib=user32");

0 commit comments

Comments
 (0)