summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar default2024-01-12 17:40:26 +0100
committerGravatar default2024-01-12 17:40:26 +0100
commit034a08a8f0a3b3c73db875b9d89103b7839eb9f3 (patch)
treea6ea32be0b4b91a51f63083f04c4a49781ffcd6a /Makefile
parentMinor tweak for better corruption detection. (diff)
downloadpenes-snac2-034a08a8f0a3b3c73db875b9d89103b7839eb9f3.tar.gz
penes-snac2-034a08a8f0a3b3c73db875b9d89103b7839eb9f3.tar.xz
penes-snac2-034a08a8f0a3b3c73db875b9d89103b7839eb9f3.zip
Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2612b7d..47da509 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ all: snac
6 6
7snac: snac.o main.o data.o http.o httpd.o webfinger.o \ 7snac: snac.o main.o data.o http.o httpd.o webfinger.o \
8 activitypub.o html.o utils.o format.o upgrade.o mastoapi.o 8 activitypub.o html.o utils.o format.o upgrade.o mastoapi.o
9 $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@ 9 $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -lrt -pthread $(LDFLAGS) -o $@
10 10
11.c.o: 11.c.o:
12 $(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $< 12 $(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $<