Link libc crate against pthread

pthread_* functions are defined in libpthread thus we need to link against
this library.
This commit is contained in:
Anatol Pomozov 2017-04-01 10:51:33 -07:00 committed by Anatol Pomazau
parent 89aab46099
commit a763fc5903

View File

@ -242,6 +242,7 @@ cfg_if! {
#[link(name = "c")]
#[link(name = "m")]
#[link(name = "rt")]
#[link(name = "pthread")]
extern {}
}
}