Re: Building CURL with OpenSSL
Date: Thu, 20 Feb 2020 23:58:02 +0100 (CET)
On Thu, 20 Feb 2020, Jason Proctor wrote:
> Which versions of Curl vs OpenSSL work for this trick?
Every version combo I've ever tried it with, which should go back long enough
to cover virtually any version that could ever still be interesting today...
> Is enabling of TLS 1.3 necessary?
Nah, I think it does that by default anyway. That's just a remainder from my
custom build command line I've used for a long time.
> Could you please enlighten as to the effect of the LDFLAGS trick?
It makes you build curl with a fixed path to that particular OpenSSL build,
which is mighty useful if you have another OpenSSL installed somewhere.
Perhaps for example a system wide one.
If you use a shared OpenSSL build and *don't* use that trick, you need to use
some other mechanism to make sure that you actually use your new build at
run-time and not the system one.
Another option is to make a static OpenSSL build and link curl/your app with
that.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2020-02-21