mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 15:59:31 +08:00
libuwsc: fix compiltation with wolfSSL
wolfssl/options.h needs to be included before the other wolfssl headers to enable OpenSSL API required to build the package. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
parent
a04ce4627a
commit
b572ee9274
10
libs/libuwsc/patches/100-cmake-fix-wolfssl-detection.patch
Normal file
10
libs/libuwsc/patches/100-cmake-fix-wolfssl-detection.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/src/ssl.c
|
||||
+++ b/src/ssl.c
|
||||
@@ -54,6 +54,7 @@ struct uwsc_ssl_ctx {
|
||||
#include <openssl/err.h>
|
||||
#elif UWSC_HAVE_WOLFSSL
|
||||
#define WC_NO_HARDEN
|
||||
+#include <wolfssl/options.h>
|
||||
#include <wolfssl/openssl/ssl.h>
|
||||
#include <wolfssl/openssl/err.h>
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user