From 837a770b2147bd13ad3fb4ee7ce12f6eb3f07276 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 2 Dec 2013 09:39:02 -0800 Subject: [PATCH] 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 --- src/libextra/flate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libextra/flate.rs b/src/libextra/flate.rs index a4a10ccfa73..5ebbbb2bbd6 100644 --- a/src/libextra/flate.rs +++ b/src/libextra/flate.rs @@ -23,7 +23,7 @@ use std::vec; pub mod rustrt { use std::libc::{c_int, c_void, size_t}; - #[link(name = "rustrt")] + #[link(name = "rustrt", kind = "static")] extern { pub fn tdefl_compress_mem_to_heap(psrc_buf: *c_void, src_buf_len: size_t,