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 8f1c34d..18edba8 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 = $(shell pkg-config --libs libuv)
+LDLIBS = -ltlsuv -luv_link_t
+LDLIBS += -lmbedtls -lmbedcrypto -lmbedx509
+LDLIBS += $(shell pkg-config --libs libuv)
 NANOPB_DIR = deps/nanopb
 
 INCLUDES = -I$(NANOPB_DIR) -I. -Iinclude -Isrc