Skip to content

Commit ba43258

Browse files
committed
Fix #6557 Add zlib-0.7 as needing a MSYS2 package on Windows
1 parent 4d41854 commit ba43258

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

doc/developing_on_windows.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,18 @@ The following lists MSYS2 packages known to allow the installation of some
6464
common Haskell packages on Windows. Feel free to submit additional entries via a
6565
pull request.
6666

67-
* For [text-icu](https://github.com/bos/text-icu) install
68-
`mingw64/mingw-w64-x86_64-icu`
67+
* For [text-icu](https://hackage.haskell.org/package/text-icu) install
68+
`mingw64/mingw-w64-x86_64-icu`.
69+
70+
* For [zlib >= 0.7](https://hackage.haskell.org/package/zlib) the default
71+
Cabal flag `pkg-config` is `true` and requires executable `pkg-config` on
72+
the PATH. MSYS2 [defaults](https://www.msys2.org/docs/pkgconfig/) to
73+
[`pkgconf`](https://packages.msys2.org/package/pkgconf?repo=msys&variant=x86_64)
74+
as its `pkg-config` implementation. Installation:
75+
76+
stack exec -- pacman -S pkgconf
77+
78+
Alternatively, build with `--flag zlib:-pkg-config`.
6979

7080
## CMake ##
7181

0 commit comments

Comments
 (0)