Dependencies for zlib-0.7.1.0

library
  • base (>=4.9 && <4.21)
  • bytestring (>=0.9 && <0.13)
  • if flag(bundled-c-zlib) || impl(ghcjs) || os(ghcjs) || arch(wasm32) || !flag(pkg-config) && os(windows)

Flags

Manual Flags

NameDescriptionDefault
non-blocking-ffi

The (de)compression calls can sometimes take a long time, which prevents other Haskell threads running. Enabling this flag avoids this unfairness, but with greater overall cost.

Enabled
bundled-c-zlib

Use zlib-clib package with C sources instead of a system library. C sources are used for GHCJS and WASM unconditionally and on Windows unless pkg-config flag is on.

Disabled
Automatic Flags
NameDescriptionDefault
pkg-config

Use pkg-config executable to locate foreign zlib library.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info