From 5ff66f04050569321dc2b722ade6f972322edd58 Mon Sep 17 00:00:00 2001 From: Jeff Olson Date: Fri, 8 Mar 2013 16:05:50 -0800 Subject: [PATCH] core: link pthreads explicitly in linux build --- src/libcore/core.rc | 1 + 1 file changed, 1 insertion(+) 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 { } }