Skip to content

Commit 837a770

Browse files
committed
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
1 parent 0455e4c commit 837a770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libextra/flate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use std::vec;
2323
pub mod rustrt {
2424
use std::libc::{c_int, c_void, size_t};
2525

26-
#[link(name = "rustrt")]
26+
#[link(name = "rustrt", kind = "static")]
2727
extern {
2828
pub fn tdefl_compress_mem_to_heap(psrc_buf: *c_void,
2929
src_buf_len: size_t,

0 commit comments

Comments
 (0)