BUG #16933: [build-system] libpq doesn't check for every names of zlib

Started by PG Bug reporting formabout 5 years ago1 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 16933
Logged by: Long Nguyen
Email address: nguyen.long.908132@gmail.com
PostgreSQL version: 12.2
Operating system: Windows 10
Description:

On Windows with Mingw-w64, the zlib library compiled with CMake has the name
libzlib.a (release) and libzlibd.a (debug). When I configure, it only checks
for -lz, not -lzlib and -lzlibd, so it ends up not being able to find zlib.
We need to check for those aside from the default -lz.