Fix librustuv

This commit is contained in:
Steven Fackler 2014-09-29 00:29:00 -07:00 committed by Steven Fackler
parent d3444779e6
commit d9eac5d99c
1 changed files with 3 additions and 5 deletions

View File

@ -723,12 +723,11 @@ extern {
// libuv doesn't use pthread on windows
// android libc (bionic) provides pthread, so no additional link is required
#[cfg(not(windows), not(target_os = "android"))]
#[cfg(not(any(windows, target_os = "android")))]
#[link(name = "pthread")]
extern {}
#[cfg(target_os = "linux")]
#[cfg(target_os = "dragonfly")]
#[cfg(any(target_os = "linux", target_os = "dragonfly"))]
#[link(name = "rt")]
extern {}
@ -738,7 +737,6 @@ extern {}
#[link(name = "iphlpapi")]
extern {}
#[cfg(target_os = "freebsd")]
#[cfg(target_os = "dragonfly")]
#[cfg(any(target_os = "freebsd", target_os = "dragonfly"))]
#[link(name = "kvm")]
extern {}