diff --git a/src/libcore/core.rc b/src/libcore/core.rc index db1dc1e28aa9..7b12bae74671 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 { } }