From 56215dccd464bb0093c48f827aaf0ad5d39849db Mon Sep 17 00:00:00 2001 From: Achie Lin Date: Fri, 3 Feb 2023 15:21:30 +0100 Subject: [PATCH] Fixed missing sni_ symbols in lib in combination with wolfssl --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f6e2c6ba..9ebb3e00 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,9 @@ endif ifeq ($(WITH_BORINGSSL),1) $(CXX) $(CXXFLAGS) -std=c++17 -flto -O3 -c src/crypto/*.cpp endif +ifeq ($(WITH_WOLFSSL),1) + $(CXX) $(CXXFLAGS) -std=c++17 -flto -O3 -c src/crypto/*.cpp +endif # Create a static library (try windows, then unix) lib.exe /out:uSockets.a *.o || $(AR) rvs uSockets.a *.o