Cargo Features

bzip2-sys has no features set by default.

[dependencies]
bzip2-sys = { version = "0.1.11+1.0.8", features = ["static"] }
static

Enable this feature if you want to have a statically linked bzip2