commit 034a08a
default
·
2024-01-12 16:40:26 +0000 UTC
parent 9185cc4
Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS.
1 files changed,
+1,
-1
M
Makefile
M
Makefile
+1,
-1
1@@ -6,7 +6,7 @@ all: snac
2
3 snac: snac.o main.o data.o http.o httpd.o webfinger.o \
4 activitypub.o html.o utils.o format.o upgrade.o mastoapi.o
5- $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@
6+ $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -lrt -pthread $(LDFLAGS) -o $@
7
8 .c.o:
9 $(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $<