cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: zlib on Windows

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 23 Jun 2004 20:47:19 +0200 (CEST)

On Wed, 23 Jun 2004, Olano, Ever wrote:

> Hi, Daniel. The only reason I downloaded and installed zlib is that in the
> docs, it says that Makefile.vc6 depended on it.

Perhaps it does, but you can easily edit it to not do that.

> I wasn't aware I could optionally use it in libcurl. What would be the
> advantage?

The CURLOPT_ENCODING option doesn't work without it.

> And how can I change the Makefile (or whichever file) to include it. Right
> now, it doesn't. It only seems to link it into curl, not libcurl.

libcurl isn't linked with zlib, but if libcurl is built with zlib support,
zlib must be present when libcurl is used by your app or you'll lack a few
symbols...

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-23