diff options
-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. | ||