core: link pthreads explicitly in linux build

This commit is contained in:
Jeff Olson 2013-03-08 16:05:50 -08:00 committed by Brian Anderson
parent cf82360e72
commit 5ff66f0405
1 changed files with 1 additions and 0 deletions

View File

@ -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 {
}
}