On Thu, 19 Aug 2021, Anmol Mishra wrote:
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.
When you build your application you use a linker. If that linker doesn't do
what you want it to do, I don't see how that is a curl problem. That's a
linker problem.
-L and -l should point out the directory and the lib to use. Maybe your Xcode
needs some extra help to understand it needs to pick the static build and not
use the shared system one?
--
/ 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