zlib linking on MinGW, missing -lz in pkg config?
Issue #15
resolved
Since the recent addition of zlib this project can't be linked to anymore, complaints it misses zlib functions. Seems like you forgot to add zlib to the pkg-config file, manually adding -lz to libgme.pc fixes the build, but this should be fixed on your end I assume.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Add pkg-config metadata for linking to zlib with static builds.
This should fix issue
#15. I think.→ <<cset 0bdcd49231db>>
- Log in to comment
Thanks for the report, yes probably something I need to fix.
Is this happening with a static build? Everything I've been reading implies that linking to a dynamic libgme.so (or libgme.dll) should already pull in zlib at link-time since the dynamic lib itself is linked to zlib.