Commit 20ba6610 authored by Luca Boccassi's avatar Luca Boccassi

Do not use ldconfig in CI if running on OSX

ldconfig is not available on OSX, so Travis CI build fails
parent 40e2befb
......@@ -5,7 +5,8 @@ if [ $BUILD_TYPE == "default" ]; then
# libsodium
git clone git://github.com/jedisct1/libsodium.git
( cd libsodium; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
( cd libsodium; ./autogen.sh; ./configure; make check; sudo make install;
if [ $TRAVIS_OS_NAME != "osx" ] ; then sudo ldconfig ; fi )
# Build and check this project
./autogen.sh && ./configure --with-libsodium=yes && make && make check
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment