diff options
| author | 2024-01-13 09:12:16 +0100 | |
|---|---|---|
| committer | 2024-01-13 09:12:16 +0100 | |
| commit | 6c556581e0d7137cd230b4569a0a833e9dae4e81 (patch) | |
| tree | 4657c9f9756a9baba69664504243a65838b31e00 | |
| parent | Merge pull request 'Added support for ntfy notifications with enhanced privac... (diff) | |
| download | penes-snac2-6c556581e0d7137cd230b4569a0a833e9dae4e81.tar.gz penes-snac2-6c556581e0d7137cd230b4569a0a833e9dae4e81.tar.xz penes-snac2-6c556581e0d7137cd230b4569a0a833e9dae4e81.zip | |
Rewritten a sentence to be clearer in README.md.
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 2 insertions, 2 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 $(LDFLAGS) -pthread -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 $< |
| @@ -65,7 +65,7 @@ From version 2.27, `snac` includes support for the Mastodon API; if you are not | |||
| 65 | make CFLAGS=-DNO_MASTODON_API | 65 | make CFLAGS=-DNO_MASTODON_API |
| 66 | ``` | 66 | ``` |
| 67 | 67 | ||
| 68 | If your compilation process complains about undefined references of `shm_open()` and `shm_unlink()` (it happens, for example, on 20.04.6 LTS), you need to tell `make` to add the `rt` library to the final linking command as follows: | 68 | If your compilation process complains about undefined references to `shm_open()` and `shm_unlink()` (it happens, for example, on Ubuntu 20.04.6 LTS), run it as: |
| 69 | 69 | ||
| 70 | ```sh | 70 | ```sh |
| 71 | make LDFLAGS=-lrt | 71 | make LDFLAGS=-lrt |