Merge pull request #4487 from ethcore/snappy-static

Static link for snappy
This commit is contained in:
Robert Habermeier 2017-02-09 00:56:59 +01:00 committed by GitHub
commit 656c08976f

View File

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