Static link for snappy

This commit is contained in:
arkpar 2017-02-08 22:43:23 +01:00
parent 8773889532
commit cdc09a6d8a

View File

@ -23,7 +23,7 @@ const SNAPPY_OK: c_int = 0;
const SNAPPY_INVALID_INPUT: c_int = 1; const SNAPPY_INVALID_INPUT: c_int = 1;
const SNAPPY_BUFFER_TOO_SMALL: c_int = 2; const SNAPPY_BUFFER_TOO_SMALL: c_int = 2;
#[link(name = "snappy")] #[link(name = "snappy", kind = "static")]
extern { extern {
fn snappy_compress( fn snappy_compress(
input: *const c_char, input: *const c_char,