mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
In README.md, document how to add -lrt to make (for older distributions).
This commit is contained in:
parent
bb134950de
commit
d8e7fe69ed
1 changed files with 7 additions and 0 deletions
|
@ -58,12 +58,19 @@ Run `make` and then `make install` as root.
|
||||||
|
|
||||||
If you're compiling on NetBSD, you should use the specific provided Makefile and run `make -f Makefile.NetBSD` and then `make -f Makefile.NetBSD install` as root.
|
If you're compiling on NetBSD, you should use the specific provided Makefile and run `make -f Makefile.NetBSD` and then `make -f Makefile.NetBSD install` as root.
|
||||||
|
|
||||||
|
|
||||||
From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running
|
From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make CFLAGS=-DNO_MASTODON_API
|
make CFLAGS=-DNO_MASTODON_API
|
||||||
```
|
```
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make LDFLAGS=-lrt
|
||||||
|
```
|
||||||
|
|
||||||
See the administrator manual on how to proceed from here.
|
See the administrator manual on how to proceed from here.
|
||||||
|
|
||||||
## Testing via Docker
|
## Testing via Docker
|
||||||
|
|
Loading…
Reference in a new issue