zlib linking on MinGW, missing -lz in pkg config?

Issue #15 resolved
Former user created an issue

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)

  1. Michael Pyne repo owner

    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.

  2. Log in to comment