Skip to content

Commit

Permalink
for mips-musl pass -ldl and co to the linker
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Aug 30, 2016
1 parent bab6012 commit 8f8d882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/build.rs
Expand Up @@ -35,7 +35,7 @@ fn main() {
println!("cargo:rustc-link-lib=dl");
println!("cargo:rustc-link-lib=log");
println!("cargo:rustc-link-lib=gcc");
} else if !target.contains("musl") {
} else if !target.contains("musl") || target.contains("mips") {
println!("cargo:rustc-link-lib=dl");
println!("cargo:rustc-link-lib=rt");
println!("cargo:rustc-link-lib=pthread");
Expand Down

0 comments on commit 8f8d882

Please sign in to comment.