about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/core.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc
index db1dc1e28aa..7b12bae7467 100644
--- a/src/libcore/core.rc
+++ b/src/libcore/core.rc
@@ -58,6 +58,7 @@ Implicitly, all crates behave as if they included the following prologue:
 #[cfg(target_os = "linux")]
 pub mod linkhack {
     #[link_args="-lrustrt -lrt"]
+    #[link_args = "-lpthread"]
     extern {
     }
 }