Don't link librt on android
This commit is contained in:
parent
90e0ceaada
commit
0c8e61ab4a
@ -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