Skip to content

Commit ec413b2

Browse files
authored
Merge pull request #249 from semarie/openbsd
openbsd: doesn't use `static` as it could result duplicated symbols
2 parents 182450f + ffffe2e commit ec413b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
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)