summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index a2f23e9..9b63571 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -39,3 +39,10 @@ Basically the same as above but:
39 39
40If you'd like to build on Mac do: `make -f Makefile.mac` 40If you'd like to build on Mac do: `make -f Makefile.mac`
41 41
42# FreeBSD build
43```
44pkg install toxcore
45gcc -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
48If someone knows why the hell pkg-config doesn't find toxcore or sodium on freebsd, please contact me or open a PR.