core: link pthreads explicitly in linux build
This commit is contained in:
parent
cf82360e72
commit
5ff66f0405
@ -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 {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user