Skip to content
Unverified Commit 6ead62ca authored by yiwu-arbug's avatar yiwu-arbug Committed by GitHub
Browse files

Avoid build require system zlib (#303)



`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: default avatarYi Wu <yiwu@pingcap.com>
parent 9246b9c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment