zlib icon indicating copy to clipboard operation
zlib copied to clipboard

zlib.pc vs windows

Open anarazel opened this issue 7 months ago • 1 comments

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

anarazel avatar Jun 30 '24 10:06 anarazel