diff options
| author | 2024-01-12 17:52:04 +0100 | |
|---|---|---|
| committer | 2024-01-12 17:52:04 +0100 | |
| commit | bb134950ded43e69b353d6830c535b0b98c594d5 (patch) | |
| tree | ad574ce59c8e56b0b5a7a0922d3df7fca59f9b2f /Makefile | |
| parent | Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS. (diff) | |
| download | penes-snac2-bb134950ded43e69b353d6830c535b0b98c594d5.tar.gz penes-snac2-bb134950ded43e69b353d6830c535b0b98c594d5.tar.xz penes-snac2-bb134950ded43e69b353d6830c535b0b98c594d5.zip | |
Don't hardcode the -lrt, as OpenBSD does not have it.
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 -lrt -pthread $(LDFLAGS) -o $@ | 9 | $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -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 $< |