arm-musl: statically link to libunwind
This commit is contained in:
parent
e50bcf3404
commit
f0ec906d18
@ -16,7 +16,7 @@ fn main() {
|
||||
let target = env::var("TARGET").unwrap();
|
||||
|
||||
if target.contains("linux") {
|
||||
if target.contains("musl") && (target.contains("x86_64") || target.contains("i686")) {
|
||||
if target.contains("musl") && !target.contains("mips") {
|
||||
println!("cargo:rustc-link-lib=static=unwind");
|
||||
} else if !target.contains("android") {
|
||||
println!("cargo:rustc-link-lib=gcc_s");
|
||||
|
Loading…
x
Reference in New Issue
Block a user