• yiwu-arbug's avatar
    Avoid build require system zlib (#303) · 6ead62ca
    yiwu-arbug authored
    `register_dep("Z")` correctly set the include path for zlib, but fail to set the path to libz.a. RocksDB cmake script expect libz.a be place under ${DEP_Z_ROOT}/lib, but libz-sys place it under ${DEP_Z_ROOT}/build. Fixed it.
    
    Also added a test to make sure possible compression types are all linked.
    Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
    6ead62ca
Name
Last commit
Last update
benches Loading commit data...
librocksdb_sys Loading commit data...
src Loading commit data...
tests Loading commit data...
travis-build Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
rustfmt.toml Loading commit data...