about summary refs log tree commit diff stats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 2d01f76..82cbaf1 100644
--- a/config.mk
+++ b/config.mk
@@ -9,7 +9,9 @@ DNAME = $(NAME).so
 
 CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC
 CFLAGS += $(shell pkg-config --cflags libuv)
-LDLIBS = -ltlsuv $(shell pkg-config --libs libuv)
+LDLIBS = -ltlsuv
+LDLIBS += -lmbedtls -lmbedcrypto -lmbed509
+LDLIBS += $(shell pkg-config --libs libuv)
 NANOPB_DIR = deps/nanopb
 
 INCLUDES = -I$(NANOPB_DIR) -I. -Iinclude -Isrc