From bb134950ded43e69b353d6830c535b0b98c594d5 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 12 Jan 2024 17:52:04 +0100 Subject: [PATCH] Don't hardcode the -lrt, as OpenBSD does not have it. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47da509..2612b7d 100644 --- 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 -lrt -pthread $(LDFLAGS) -o $@ + $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@ .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -I/usr/local/include -c $<