Skip to content

Commit c27f416

Browse files
committed
Merge pull request #72 from alexcrichton/no-rt-on-android
Don't link librt on android
2 parents 90e0cea + 0c8e61a commit c27f416

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/unix/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ cfg_if! {
105105
} else if #[cfg(target_env = "musl")] {
106106
#[link(name = "c", kind = "static")]
107107
extern {}
108-
} else if #[cfg(any(target_os = "macos", target_os = "ios"))] {
108+
} else if #[cfg(any(target_os = "macos",
109+
target_os = "ios",
110+
target_os = "android"))] {
109111
#[link(name = "c")]
110112
#[link(name = "m")]
111113
extern {}

0 commit comments

Comments
 (0)