From 978a6cbfd7d9e469867040910f39755fe49a3ae7 Mon Sep 17 00:00:00 2001 From: Nate Choe Date: Tue, 15 Feb 2022 16:48:17 -0600 Subject: [PATCH] Fixed Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 467bc90..b3f131f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SRC = $(wildcard src/*.c) OBJ = $(subst .c,.o,$(subst src,work,$(SRC))) -LIBS = -pthread -pie -lrt $(shell pkg-config --libs gnutls) +LIBS = -pthread -pie -lrt -ldl $(shell pkg-config --libs gnutls) CFLAGS := -O2 -pipe -Wall -Wpedantic -ansi CFLAGS += -Isrc/ -fpie -D_POSIX_C_SOURCE=200809L $(shell pkg-config --cflags gnutls) INSTALLDIR := /usr/sbin