Merge pull request #72 from alexcrichton/no-rt-on-android

Don't link librt on android
This commit is contained in:
Alex Crichton 2015-11-22 11:28:58 -08:00
commit c27f4167a7

View File

@ -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 {}