diff options
author | GDR! <gdr@gdr.name> | 2020-08-15 16:44:23 +0200 |
---|---|---|
committer | GDR! <gdr@gdr.name> | 2020-08-15 16:44:23 +0200 |
commit | 78a9cc5e21145d953d06e149d86cc57840435d20 (patch) | |
tree | be10517c68107c7b7c55b3f77fcac63bcfade24b /BUILD.md | |
parent | 4c29f4b8774ff2032e4d8ce3fc8067b52f86933d (diff) |
FreeBSD build instructions
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -39,3 +39,10 @@ Basically the same as above but: | |||
39 | 39 | ||
40 | If you'd like to build on Mac do: `make -f Makefile.mac` | 40 | If you'd like to build on Mac do: `make -f Makefile.mac` |
41 | 41 | ||
42 | # FreeBSD build | ||
43 | ``` | ||
44 | pkg install toxcore | ||
45 | gcc -I/usr/local/include/ -L/usr/local/lib -o tuntox -lpthread -g -pthread -lm -static -lrt *.c /usr/local/lib/libtoxcore.a -lsodium | ||
46 | ``` | ||
47 | |||
48 | If someone knows why the hell pkg-config doesn't find toxcore or sodium on freebsd, please contact me or open a PR. | ||