Skip to content

Commit 84ac165

Browse files
committed
Remove dylib from atomic linking
The `dylib` addition breaks static binaries causing them not never be static again, because the atomic lib is always added as a dynamic library. Removing the `dylib` should not be an issue, since the compiler will either add it dynamically or statically based upon the compiler settings.
1 parent 859fbc1 commit 84ac165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmimalloc-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ fn main() {
5757

5858
// on armv6 we need to link with libatomic
5959
if target_os == "linux" && target_arch == "arm" {
60-
println!("cargo:rustc-link-lib=dylib=atomic");
60+
println!("cargo:rustc-link-lib=atomic");
6161
}
6262
}

0 commit comments

Comments
 (0)