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: Recommended way of using a custom build of libcurl in a Node.js addon

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 23 Mar 2023 00:26:34 +0100 (CET)

On Wed, 22 Mar 2023, Darshan Sen via curl-library wrote:

> I don't know if there are any other ways of bundling libcurl and its
> dependencies along with the binding other than the 2 options I mentioned.
> If there aren't, I was wondering which one of the two - fully static
> library / fully relocatable dynamic library would be the most sensible
> approach here.

In practical terms there's very little difference.

Building *anything* static is a pain and you'll probably have to work a lot
more to get that going than going with simplicity and building a shared
version.

A pain I say, because curl's build scripts cannot properly figure out the
entire chain of depenencies so you are going to have to provide that set
manually.

-- 
  / 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://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-03-23