1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/plugins
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
..
acme-client plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
deaddrop plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
raw-proxy plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
ssh-base plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
CMakeLists.txt cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
lwsws-logo.png http cache policy 2016-04-22 08:53:49 +08:00
protocol_client_loopback_test.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_dumb_increment.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_fulltext_demo.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_lws_mirror.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_lws_raw_test.c event libs: default to building as dynamically loaded plugins 2020-08-31 16:51:37 +01:00
protocol_lws_server_status.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_lws_sshd_demo.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_lws_status.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
protocol_post_demo.c plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
server-status.css server-status: add proc statm and switch to vhost protocol timer 2019-03-10 08:02:02 +08:00
server-status.html test-app: upgrade test.html to have separate css and js for CSP 2018-09-11 18:27:59 +08:00
server-status.js semmle: fix warnings 2019-09-22 09:35:07 -07:00