diff options
-rw-r--r-- | config.mk | 4 | ||||
-rw-r--r-- | tests/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config.mk b/config.mk index 82cbaf1..18edba8 100644 --- a/config.mk +++ b/config.mk @@ -9,8 +9,8 @@ DNAME = $(NAME).so CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC CFLAGS += $(shell pkg-config --cflags libuv) -LDLIBS = -ltlsuv -LDLIBS += -lmbedtls -lmbedcrypto -lmbed509 +LDLIBS = -ltlsuv -luv_link_t +LDLIBS += -lmbedtls -lmbedcrypto -lmbedx509 LDLIBS += $(shell pkg-config --libs libuv) NANOPB_DIR = deps/nanopb diff --git a/tests/Makefile b/tests/Makefile index 9c8e568..95a146b 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -4,8 +4,8 @@ INCLUDES = -I../include SRC = $(shell find -type f -name '*.c') BIN = $(SRC:%.c=%) -LDLIBS = -l:libumumble.a -ltlsuv $(shell pkg-config --libs openssl) -luv -LDFLAGS = -L.. +LDLIBS := -l:libumumble.a $(LDLIBS) +LDFLAGS += -L.. .PHONY: all |