1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

wolfssl: have docs follow switch change

https://github.com/warmcat/libwebsockets/issues/3116
This commit is contained in:
Andy Green 2024-09-25 10:33:52 +01:00
parent 6bf61482b2
commit 79ae57a2f9
2 changed files with 3 additions and 3 deletions

View file

@ -353,7 +353,7 @@ https://www.wolfssl.com/wolfSSL/Products-wolfssl.html
It contains a OpenSSL compatibility layer which makes it possible to pretty
much link to it instead of OpenSSL, giving a much smaller footprint.
**NOTE**: wolfssl needs to be compiled using the `--enable-opensslextra` flag for
**NOTE**: wolfssl needs to be compiled using the `--enable-libwebsockets` flag for
this to work.
@section wolf1 Compiling libwebsockets with wolfSSL

View file

@ -24,13 +24,13 @@ CMAKE_OPTIONS += -DLWS_WITH_SSL=ON
CMAKE_OPTIONS += -DLWS_WITHOUT_TESTAPPS=$(if $(CONFIG_PACKAGE_libwebsockets-examples),"OFF","ON")
# for wolfssl, define these in addition to LWS_OPENSSL_SUPPORT and
# edit package/libs/wolfssl/Makefile to include --enable-opensslextra
# edit package/libs/wolfssl/Makefile to include --enable-libwebsockets
# CMAKE_OPTIONS += -DLWS_WITH_WOLFSSL=ON
# CMAKE_OPTIONS += -DLWS_WOLFSSL_LIBRARIES=$(STAGING_DIR)/usr/lib/libwolfssl.so
# CMAKE_OPTIONS += -DLWS_WOLFSSL_INCLUDE_DIRS=$(STAGING_DIR)/usr/include
# for cyassl, define these in addition to LWS_OPENSSL_SUPPORT and
# edit package/libs/wolfssl/Makefile to include --enable-opensslextra
# edit package/libs/wolfssl/Makefile to include --enable-libwebsockets
# CMAKE_OPTIONS += -DLWS_WITH_CYASSL=ON
# CMAKE_OPTIONS += -DLWS_CYASSL_LIBRARIES=$(STAGING_DIR)/usr/lib/libcyassl.so
# CMAKE_OPTIONS += -DLWS_CYASSL_INCLUDE_DIRS=$(STAGING_DIR)/usr/include