[Zlib-devel] [PATCH] mingw zlib import library name

Vincent Torri vtorri at univ-evry.fr
Tue Apr 20 18:34:18 EDT 2010



On Wed, 21 Apr 2010, Alon Bar-Lev wrote:

> Hello,
>
> Currently zlib produce zlibdll.a as import library, while the libtool
> standard is libz.dll.a.
> It would be help if the convention is kept so components that depend
> on zlib will successfully built using shared object.

iirc, the behavior is:

-lz for statically linking zlib
-lzdll for using the dll (the import lib in Makefile.gcc is libzdll.a)

it was mentioned in the README in win32/ but it's not anymore in the 
current one

Vincent Torri




More information about the Zlib-devel mailing list