Skip to content

Commit

Permalink
Merge pull request rust-lang#164 from japaric/fix-linkage
Browse files Browse the repository at this point in the history
musl: fix linkage of libc
  • Loading branch information
alexcrichton committed Jan 30, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 5863d86 + 7376d09 commit 53d11fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/mod.rs
Original file line number Diff line number Diff line change
@@ -135,7 +135,7 @@ cfg_if! {
if #[cfg(not(stdbuild))] {
// cargo build, don't pull in anything extra as the libstd dep
// already pulls in all libs.
} else if #[cfg(target_env = "musl", not(target_arch = "mips"))] {
} else if #[cfg(all(target_env = "musl", not(target_arch = "mips")))] {
#[link(name = "c", kind = "static")]
extern {}
} else if #[cfg(target_os = "emscripten")] {

0 comments on commit 53d11fc

Please sign in to comment.