Skip to content

zlib.pc vs windows #988

@anarazel

Description

@anarazel

Hi,

On unix the library name is set to 'z':

set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z)

but on windows that's not the case. Which makes the generated .pc file wrong:

Libs: -L${libdir} -L${sharedlibdir} -lz

Seems the library name ought to be injected as a replacement rather than hardcoded.

Regards,

Andres

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions