Fix builds on debian

Signed-off-by: Sam Therapy <sam@samtherapy.net>

FossilOrigin-Name: 4b867c44d4771e727a5044e199069447fe78350e6ffa58813bd1cd476f8ad932
This commit is contained in:
Sam Therapy 2022-03-18 17:36:44 +00:00
parent d4a53d2472
commit 74339555f3

View file

@ -3,7 +3,7 @@ GIT ?= git
MASTODONT_DIR = mastodont-c/
MASTODONT = $(MASTODONT_DIR)libmastodont.a
CFLAGS += -Wall -I $(MASTODONT_DIR)include/ -Wno-unused-variable -Wno-discarded-qualifiers $(shell pkg-config --cflags libcurl libcjson libpcre)
LDFLAGS = $(shell pkg-config --libs libcjson libcurl libpcre) -L$(MASTODONT_DIR) -lmastodont
LDFLAGS = -L$(MASTODONT_DIR) -lmastodont $(shell pkg-config --libs libcjson libcurl libpcre)
SRC = $(wildcard src/*.c)
OBJ = $(patsubst %.c,%.o,$(SRC))
PAGES_DIR = static