We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61119e9 + c6803c7 commit b862431Copy full SHA for b862431
zlib.cabal
@@ -51,6 +51,13 @@ flag pkg-config
51
manual: True
52
description: Use @pkg-config(1)@ to locate foreign @zlib@ library.
53
54
+flag bundled-c-zlib
55
+ default: False
56
+ manual: True
57
+ description: Use the bundled zlib C sources. Requires pkg-config to be False.
58
+ For windows, this is the default.
59
+
60
61
library
62
exposed-modules: Codec.Compression.GZip,
63
Codec.Compression.Zlib,
@@ -81,7 +88,7 @@ library
81
88
pkgconfig-depends: zlib
82
89
else
83
90
-- don't use pkg-config
84
- if !os(windows) && !impl(ghcjs) && !os(ghcjs)
91
+ if !os(windows) && !flag(bundled-c-zlib) && !impl(ghcjs) && !os(ghcjs)
85
92
-- Normally we use the the standard system zlib.
86
93
extra-libraries: z
87
94
0 commit comments