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: libcurl.a linker errors on XCode

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 19 Aug 2021 11:25:03 +0200 (CEST)

On Thu, 19 Aug 2021, Anmol Mishra wrote:

> Intuitively, these extra dependencies seems wrong. If I build a static
> version of a lib, it should not depend on a shared lib.

You build a static version of libcurl. That's static.

You then need to make sure to use whatever you want from the dependencies.
They can be shared or static, that's not up to the curl build to decide.

You can build your own stuff to use what you think it should use.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-08-19