Merge pull request #72 from alexcrichton/no-rt-on-android
Don't link librt on android
This commit is contained in:
commit
c27f4167a7
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user