commit 034a08a8f0a3b3c73db875b9d89103b7839eb9f3
parent 9185cc4baa70b77336aa5a862cd23c3913800c0c
Author: default <nobody@localhost>
Date: Fri, 12 Jan 2024 17:40:26 +0100
Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -6,7 +6,7 @@ all: snac
snac: snac.o main.o data.o http.o httpd.o webfinger.o \
activitypub.o html.o utils.o format.o upgrade.o mastoapi.o
- $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@
+ $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -lrt -pthread $(LDFLAGS) -o $@
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $<