From 90e4228e1d4466e110c7f1c4a397eb147375a5ed Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 23 Dec 2024 11:40:36 -0300 Subject: [PATCH] keep TLS options as per the TLS tutorial. Default to built-in TLS while allowing to use other stacks, as tutorials show --- tutorials/websocket/websocket-client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/websocket/websocket-client/Makefile b/tutorials/websocket/websocket-client/Makefile index fc94d10d..9ab87017 100644 --- a/tutorials/websocket/websocket-client/Makefile +++ b/tutorials/websocket/websocket-client/Makefile @@ -3,10 +3,10 @@ DELETE = rm -rf # Command to remove files OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options -CFLAGS_MONGOOSE ?= -DMG_TLS=MG_TLS_BUILTIN # Mongoose build options. See https://mongoose.ws/documentation/#build-options #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES +CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary