So, here is an issue.

Linking to this causes errors - /usr/local/Cellar/curl/7.78.0/lib/libcurl.a

Using these flags allows for a build - -L/usr/local/Cellar/curl/7.78.0/lib 
-lcurl

The problem is that -lcurl is probably bringing in the default system lib. And 
that is not something I want.

________________________________
From: Daniel Stenberg <dan...@haxx.se>
Sent: Thursday, 19 August 2021 9:19 AM
To: Anmol Mishra via curl-library <curl-library@cool.haxx.se>
Cc: Anmol Mishra <amish...@hotmail.com>
Subject: Re: libcurl.a linker errors on XCode

On Thu, 19 Aug 2021, Anmol Mishra via curl-library wrote:

> That makes sense. Is there a list of dependencies somewhere ?

It depends entirely on your specific build.

"sh curl-config --libs" should list them after a build.

--

  / 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

Reply via email to