Skip to content

Commit

Permalink
Merge pull request rust-lang#72 from alexcrichton/no-rt-on-android
Browse files Browse the repository at this point in the history
Don't link librt on android
  • Loading branch information
alexcrichton committed Nov 22, 2015
2 parents 90e0cea + 0c8e61a commit c27f416
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ cfg_if! {
} else if #[cfg(target_env = "musl")] {
#[link(name = "c", kind = "static")]
extern {}
} else if #[cfg(any(target_os = "macos", target_os = "ios"))] {
} else if #[cfg(any(target_os = "macos",
target_os = "ios",
target_os = "android"))] {
#[link(name = "c")]
#[link(name = "m")]
extern {}
Expand Down

0 comments on commit c27f416

Please sign in to comment.