1
Fork 0

std: Prepare for linking to musl

This commit modifies the standard library and its dependencies to link correctly
when built against MUSL. This primarily ensures that the right libraries are
linked against and when they're linked against they're linked against
statically.
This commit is contained in:
Alex Crichton 2015-04-21 15:56:55 -07:00
parent d09851730c
commit 6c048723f8
7 changed files with 21 additions and 6 deletions

View file

@ -82,7 +82,8 @@ mod inner {
// OpenBSD provide it via libc
#[cfg(not(any(target_os = "android",
target_os = "bitrig",
target_os = "openbsd")))]
target_os = "openbsd",
target_env = "musl")))]
#[link(name = "rt")]
extern {}