Skip to content

Commit

Permalink
Windows does not imply flag bundled-c-zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Jan 30, 2024
1 parent 2e79a87 commit 276b5a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zlib.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ library
if flag(non-blocking-ffi)
cpp-options: -DNON_BLOCKING_FFI

if flag(bundled-c-zlib) || impl(ghcjs) || os(ghcjs) || os(windows)
if flag(bundled-c-zlib) || impl(ghcjs) || os(ghcjs)
-- We bundle a complete copy of the C sources of zlib-1.3.1,
-- downloaded via update-c-sources.sh.
c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c
Expand All @@ -117,6 +117,7 @@ library
-- NB: pkg-config is available on windows as well when using msys2
pkgconfig-depends: zlib
else
-- On Windows zlib is shipped with GHC starting from 7.10
extra-libraries: z

test-suite tests
Expand Down

0 comments on commit 276b5a0

Please sign in to comment.