Skip to content

Commit c900083

Browse files
committed
Auto merge of rust-lang#488 - redox-os:redox, r=alexcrichton
Link libc and libm in Redox [critical] This is critical to being able to set up a proper cross compilation setup for Redox. Due to the way libc is vendored, I have to have this change merged in and have liblibc updated in the Rust repository as well before I can have a working buildbot for Redox.
2 parents 3ae8c85 + 7459003 commit c900083

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/redox.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ s! {
5151
extern {
5252
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;
5353
}
54+
55+
#[link(name = "c", kind = "static")]
56+
#[link(name = "m", kind = "static")]
57+
extern {}

0 commit comments

Comments
 (0)