openbsd: doesn't use static
as it could result duplicated symbols
This commit is contained in:
parent
182450f20c
commit
ffffe2ed64
2
build.rs
2
build.rs
@ -13,7 +13,7 @@ fn main() {
|
|||||||
// OpenBSD provides compiler_rt by default, use it instead of rebuilding it from source
|
// OpenBSD provides compiler_rt by default, use it instead of rebuilding it from source
|
||||||
if target.contains("openbsd") {
|
if target.contains("openbsd") {
|
||||||
println!("cargo:rustc-link-search=native=/usr/lib");
|
println!("cargo:rustc-link-search=native=/usr/lib");
|
||||||
println!("cargo:rustc-link-lib=static=compiler_rt");
|
println!("cargo:rustc-link-lib=compiler_rt");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user