summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar default2024-01-12 18:06:16 +0100
committerGravatar default2024-01-12 18:06:16 +0100
commitd8e7fe69eda030b960bda8eecfdcc126a09ce14f (patch)
treee2a67902799d33f191933a31191954202099f030 /README.md
parentDon't hardcode the -lrt, as OpenBSD does not have it. (diff)
downloadpenes-snac2-d8e7fe69eda030b960bda8eecfdcc126a09ce14f.tar.gz
penes-snac2-d8e7fe69eda030b960bda8eecfdcc126a09ce14f.tar.xz
penes-snac2-d8e7fe69eda030b960bda8eecfdcc126a09ce14f.zip
In README.md, document how to add -lrt to make (for older distributions).
Diffstat (limited to '')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6018125..6082d26 100644
--- a/README.md
+++ b/README.md
@@ -58,12 +58,19 @@ Run `make` and then `make install` as root.
58 58
59If 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. 59If 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.
60 60
61
61From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running 62From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running
62 63
63```sh 64```sh
64make CFLAGS=-DNO_MASTODON_API 65make CFLAGS=-DNO_MASTODON_API
65``` 66```
66 67
68If 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:
69
70```sh
71make LDFLAGS=-lrt
72```
73
67See the administrator manual on how to proceed from here. 74See the administrator manual on how to proceed from here.
68 75
69## Testing via Docker 76## Testing via Docker