Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
arm-musl: statically link to libunwind
  • Loading branch information
Jorge Aparicio committed Jul 30, 2016
1 parent e50bcf3 commit f0ec906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libunwind/build.rs
Expand Up @@ -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");
Expand Down

0 comments on commit f0ec906

Please sign in to comment.