diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-11-26 13:37:16 -0600 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-11-26 13:37:16 -0600 |
commit | 867c6ff0b824d6d295951ed34bb252d5e0b2467a (patch) | |
tree | c571eae3e22d3c78d1bd54574e90c296a09fc961 | |
parent | 0bf374fe6d1d82222f30afa465ecaa932953077e (diff) | |
parent | b83e43bb0af6899b6f7d909a8ecd1ed9e64ce2f9 (diff) | |
download | rust-libc-867c6ff0b824d6d295951ed34bb252d5e0b2467a.tar.gz |
Merge pull request #80 from semarie/librt
unbreak openbsd and bitrig due to linking to rt
-rw-r--r-- | src/unix/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index bdaec1a550..3339003dd1 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -107,7 +107,9 @@ cfg_if! { extern {} } else if #[cfg(any(target_os = "macos", target_os = "ios", - target_os = "android"))] { + target_os = "android", + target_os = "openbsd", + target_os = "bitrig"))] { #[link(name = "c")] #[link(name = "m")] extern {} |