Configure needs to find libsodium headers.

Add soft-links for them, in the places that it expects.
This commit is contained in:
James 2017-07-28 23:06:41 +12:00 committed by Robin Lindén
parent 020e77fbdf
commit 4ceaad505d
No known key found for this signature in database
GPG Key ID: 601A604B7E605776

View File

@ -213,6 +213,8 @@ Certain other tools may not be installed, or outdated, and should also be instal
If libsodium was installed with MacPorts, you may want to symlink the copy in /opt/local/lib to /usr/local/lib. That way you don't need special configure switches for toxcore to find libsodium, and every time MacPorts updates libsodium, the new version will be linked to toxcore every time you build:
```
ln -s /opt/local/lib/libsodium.dylib /usr/local/lib/libsodium.dylib
ln -s /opt/local/include/sodium.h /usr/local/include
ln -s /opt/local/include/sodium /usr/local/include/
```
Much of the build can then be done as for other platforms: git clone, and so on. Differences will be noted with (OS X 10.5 specific)