diff options
| author | bors <bors@rust-lang.org> | 2016-09-04 10:22:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-04 10:22:26 -0700 |
| commit | 9cc430d2cf90a38880e02bb319a5563cbe07a40c (patch) | |
| tree | f54ad8408cfb10263da55fa01fa00cb41e8977af /src/libstd | |
| parent | 987b47549eae03e4d9699336f5e30f787161acaa (diff) | |
| parent | 25145b2ef18b872bf46b939126d607b9107e9966 (diff) | |
| download | rust-9cc430d2cf90a38880e02bb319a5563cbe07a40c.tar.gz rust-9cc430d2cf90a38880e02bb319a5563cbe07a40c.zip | |
Auto merge of #36144 - japaric:rustbuild-musl, r=alexcrichton
rustbuild: fix building std for musl targets closes #36143 r? @alexcrichton
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs index 9018e48d06b..2d540c6b59a 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -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 { + } 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"); |
