Skip to content

Commit ffffe2e

Browse files
committed
openbsd: doesn't use static as it could result duplicated symbols
1 parent 182450f commit ffffe2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn main() {
1313
// OpenBSD provides compiler_rt by default, use it instead of rebuilding it from source
1414
if target.contains("openbsd") {
1515
println!("cargo:rustc-link-search=native=/usr/lib");
16-
println!("cargo:rustc-link-lib=static=compiler_rt");
16+
println!("cargo:rustc-link-lib=compiler_rt");
1717
return;
1818
}
1919

0 commit comments

Comments
 (0)