diff options
| author | 2024-01-12 17:40:26 +0100 | |
|---|---|---|
| committer | 2024-01-12 17:40:26 +0100 | |
| commit | 034a08a8f0a3b3c73db875b9d89103b7839eb9f3 (patch) | |
| tree | a6ea32be0b4b91a51f63083f04c4a49781ffcd6a /Makefile | |
| parent | Minor tweak for better corruption detection. (diff) | |
| download | penes-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -6,7 +6,7 @@ all: snac | |||
| 6 | 6 | ||
| 7 | snac: snac.o main.o data.o http.o httpd.o webfinger.o \ | 7 | snac: 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 $< |