1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/tls/openssl
Andy Green 5c7b5af92a cmake: disable export visibility when building lws static
This is complicated by the fact extern on a function declaration implies
visibility... we have to make LWS_EXTERN empty when building static.

And, setting target_compile_definitions() doesn't work inside macros,
so it has to be set explicitly for the plugins.

Checking the symbol status needs nm -C -D as per

https://stackoverflow.com/questions/37934388/symbol-visibility-not-working-as-expected

after this patch, libwebsockets.a shows no symbols when checked like that and
the static-linked minimal examples only show -U for their other dynamic
imports.

In a handful of cases we use LWS_EXTERN on extern data declarations,
those then need to change to explicit extern.
2020-09-06 11:46:25 +01:00
..
lws-genaes.c cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
lws-gencrypto.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
lws-genec.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
lws-genhash.c cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
lws-genrsa.c cleaning 2020-01-05 22:17:58 +00:00
openssl-client.c openssl: allow build with old glibc headers 2020-08-31 16:51:37 +01:00
openssl-server.c fakewsi: replace with smaller substructure 2020-07-20 06:28:52 +01:00
openssl-ssl.c docs: add README-debugging.md and provide example points for decrypted traffic handling 2020-07-30 16:23:59 +01:00
openssl-tls.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
openssl-x509.c mingw: fix for different sockfd type in udp example 2020-06-06 15:53:58 +01:00
private-lib-tls-openssl.h semmle: fix warnings 2019-09-22 09:35:07 -07:00