[Zlib-devel] [PATCH] mingw zlib import library name
Alon Bar-Lev
alon.barlev at gmail.com
Tue Apr 20 18:45:59 EDT 2010
On Wed, Apr 21, 2010 at 1:34 AM, Vincent Torri <vtorri at univ-evry.fr> wrote:
>
>
> 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
Yes.
But other tools look for: -lz or -lz.dll
More information about the Zlib-devel
mailing list