zlib
zlib copied to clipboard
zlib.pc vs windows
Hi,
On unix the library name is set to 'z': https://github.com/madler/zlib/blob/534864bccd78812648ad1beaccdeec7c9d47aeef/CMakeLists.txt#L177
but on windows that's not the case. Which makes the generated .pc file wrong: https://github.com/madler/zlib/blob/534864bccd78812648ad1beaccdeec7c9d47aeef/zlib.pc.cmakein#L12
Seems the library name ought to be injected as a replacement rather than hardcoded.
Regards,
Andres