From 7c38b67ab52de62a3ec4cb0ad786a9eed34b5068 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Tue, 15 Dec 2020 22:06:03 -0800 Subject: [PATCH] Added switch for dynamically linking OpenSSL --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index ed57b5a..46b0ff5 100644 --- a/makefile +++ b/makefile @@ -415,6 +415,12 @@ CFLAGS += -DMICROSTACK_TLS_DETECT LDEXTRA += -lssl -lcrypto endif +ifeq ($(DYNAMICTLS),1) +LINUXSSL = +MACSSL = +BSDSSL = +endif + ifeq ($(DEBUG),1) # Debug Build, include Symbols CFLAGS += -g -D_DEBUG