about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rt/heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/heap.rs b/src/libstd/rt/heap.rs
index 30583f76330..ffe6dccfa15 100644
--- a/src/libstd/rt/heap.rs
+++ b/src/libstd/rt/heap.rs
@@ -25,7 +25,7 @@ extern {
 }
 
 // -lpthread needs to occur after -ljemalloc, the earlier argument isn't enough
-#[cfg(not(windows))]
+#[cfg(not(windows), not(target_os = "android"))]
 #[link(name = "pthread")]
 extern {}