Skip to content

Commit f0ec906

Browse files
author
Jorge Aparicio
committed
arm-musl: statically link to libunwind
1 parent e50bcf3 commit f0ec906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libunwind/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn main() {
1616
let target = env::var("TARGET").unwrap();
1717

1818
if target.contains("linux") {
19-
if target.contains("musl") && (target.contains("x86_64") || target.contains("i686")) {
19+
if target.contains("musl") && !target.contains("mips") {
2020
println!("cargo:rustc-link-lib=static=unwind");
2121
} else if !target.contains("android") {
2222
println!("cargo:rustc-link-lib=gcc_s");

0 commit comments

Comments
 (0)