Declare librustrt a static dependency of libextra

This wasn't uncovered during testing because the librustrt is available locally
in the build directory (and it needs to be for all the tests to link against it
as well).

Closes #10765
This commit is contained in:
Alex Crichton 2013-12-02 09:39:02 -08:00
parent 0455e4c9f8
commit 837a770b21

View file

@ -23,7 +23,7 @@ use std::vec;
pub mod rustrt { pub mod rustrt {
use std::libc::{c_int, c_void, size_t}; use std::libc::{c_int, c_void, size_t};
#[link(name = "rustrt")] #[link(name = "rustrt", kind = "static")]
extern { extern {
pub fn tdefl_compress_mem_to_heap(psrc_buf: *c_void, pub fn tdefl_compress_mem_to_heap(psrc_buf: *c_void,
src_buf_len: size_t, src_buf_len: size_t,