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:
parent
0455e4c9f8
commit
837a770b21
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue