diff options
author | default <nobody@localhost> | 2024-01-12 17:40:26 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-01-12 17:40:26 +0100 |
commit | 034a08a8f0a3b3c73db875b9d89103b7839eb9f3 (patch) | |
tree | a6ea32be0b4b91a51f63083f04c4a49781ffcd6a /Makefile | |
parent | 9185cc4baa70b77336aa5a862cd23c3913800c0c (diff) |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $< |