diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 3dc7f626b4ac6d9386f35d0d9c0a3eeab7eb7d58..bdaec1a550a2f20046dbc415c305d0f0dc60fcc4 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -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 {}