Skip to content

Commit 8f8d882

Browse files
author
Jorge Aparicio
committed
for mips-musl pass -ldl and co to the linker
1 parent bab6012 commit 8f8d882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn main() {
3535
println!("cargo:rustc-link-lib=dl");
3636
println!("cargo:rustc-link-lib=log");
3737
println!("cargo:rustc-link-lib=gcc");
38-
} else if !target.contains("musl") {
38+
} else if !target.contains("musl") || target.contains("mips") {
3939
println!("cargo:rustc-link-lib=dl");
4040
println!("cargo:rustc-link-lib=rt");
4141
println!("cargo:rustc-link-lib=pthread");

0 commit comments

Comments
 (0)