1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Updated libsodium check

This commit is contained in:
RowenStipe 2016-01-26 08:45:39 -05:00 committed by Zetok Zalbavar
parent 75607bcecc
commit ab769d1175
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -54,10 +54,10 @@ function build-toxcore() {
echo "Now working in: ${PWD}"
#Check if libsodium is correct version
if [ -e /usr/local/opt/libsodium/lib/libsodium.17.dylib ]; then
if [ -e /usr/local/opt/libsodium/lib/libsodium.18.dylib ]; then
fcho " Beginnning Toxcore compile "
else
echo "Error: libsodium.17.dylib not found! Unable to build!"
echo "Error: libsodium.18.dylib not found! Unable to build!"
echo "Please make sure your Homebrew packages are up to date before retrying."
exit 1
fi
@ -66,7 +66,7 @@ function build-toxcore() {
autoreconf -i
#Make sure the correct version of libsodium is used
./configure --with-libsodium-headers=/usr/local/Cellar/libsodium/1.0.6/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/1.0.6/lib/
./configure --with-libsodium-headers=/usr/local/Cellar/libsodium/1.0.8/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/1.0.8/lib/
sudo make clean
make