[Libwebsockets] OPENSSL static liniking

Andy Green andy at warmcat.com
Mon Aug 4 10:21:47 CEST 2014



On 4 August 2014 15:49:03 GMT+08:00, Subi S S <subi.s at cambiumnetworks.com> wrote:
>Hi ,
>
>
>I want to know whether static linking of openssl lib is supported in
>libwebsockets

CMake doesn't support it.

It's not a good idea in most circumstances.  Because you will get, eg, persistent hidden vulnerabilities on Heartbleed, even if you installed new OpenSSL libs on your system with it fixed.

If you must do it, you can either edit CMakeLists.txt to support it, or mess with the makefile to link the OpenSSL .a rather than -lopenssl

-Andy

>
>Thanks,
>
>Subi
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list