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