curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Curl Configuration Weirdness for libz.a

From: Dan Fandrich via curl-library <>
Date: Thu, 31 Aug 2023 17:25:07 -0700

On Thu, Aug 31, 2023 at 01:50:07PM -0400, wrote:
> On Thursday, August 31, 2023 1:41 PM, Dan Fandrich wrote:
> >On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library
> wrote:
> >> I think you should change strategies. You should use sed to change
> >> references from -lz to libz.a (and friends).
> >
> >While that would work, devs shouldn't need to do this. curl's configure is
> simply doing
> >the wrong thing. I'll work on a patch.
> Thanks.

I've tested that a zlib.pc file with a static library path now works fine.
Received on 2023-09-01