about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-02-05 00:35:24 +0100
committerlatex <latex@disroot.org>2023-02-05 00:35:24 +0100
commit34ed09145e4ee3e7fea1c20ef41c6962d2f396b0 (patch)
treeedf0caa6a19f4252128f0b133a0238da5c083efb
parent5e3694267633c58b3884300ba39d2f7a973df286 (diff)
downloadlibumumble-34ed09145e4ee3e7fea1c20ef41c6962d2f396b0.tar.gz
add mbedtls libraries to linker
-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