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 <curl-library_at_lists.haxx.se>
Date: Thu, 31 Aug 2023 17:25:07 -0700

On Thu, Aug 31, 2023 at 01:50:07PM -0400, rsbecker_at_nexbridge.com 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.

https://github.com/curl/curl/pull/11778

I've tested that a zlib.pc file with a static library path now works fine.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-09-01