summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2020-08-15 16:44:23 +0200
committerGDR! <gdr@gdr.name>2020-08-15 16:44:23 +0200
commit78a9cc5e21145d953d06e149d86cc57840435d20 (patch)
treebe10517c68107c7b7c55b3f77fcac63bcfade24b
parent4c29f4b8774ff2032e4d8ce3fc8067b52f86933d (diff)
FreeBSD build instructions
-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.