commit | a763fc5903aa1469bfd804a2b5a755fe4cd879cc | [log] [tgz] |
---|---|---|
author | Anatol Pomozov <anatol.pomozov@gmail.com> | Sat Apr 01 10:51:33 2017 -0700 |
committer | Anatol Pomazau <anatol@google.com> | Tue Apr 04 13:24:13 2017 -0700 |
tree | 221e0962da4314076eaf83d71e9131ffd80d71ec | |
parent | 89aab4609932b22aee8f7f5276d1f6e2061fd5bb [diff] |
Link libc crate against pthread pthread_* functions are defined in libpthread thus we need to link against this library.
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index b9f8cc0..15152eb 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs
@@ -242,6 +242,7 @@ #[link(name = "c")] #[link(name = "m")] #[link(name = "rt")] + #[link(name = "pthread")] extern {} } }