mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 20:50:05 +04:00
curl: fix compilation with wolfSSL
options.h header is needed now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 317575755a)
This commit is contained in:
10
net/curl/patches/100-wolfssl.patch
Normal file
10
net/curl/patches/100-wolfssl.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/m4/curl-wolfssl.m4
|
||||
+++ b/m4/curl-wolfssl.m4
|
||||
@@ -93,6 +93,7 @@ if test "x$OPT_WOLFSSL" != xno; then
|
||||
They are set up properly later if it is detected. */
|
||||
#undef SIZEOF_LONG
|
||||
#undef SIZEOF_LONG_LONG
|
||||
+#include <wolfssl/options.h>
|
||||
#include <wolfssl/ssl.h>
|
||||
]],[[
|
||||
return wolfSSL_Init();
|
||||
Reference in New Issue
Block a user