Compiling libsodium18

This commit is contained in:
Dennis Schwerdel 2017-07-30 21:12:28 +02:00
parent c954b8489c
commit b62ab95503
1 changed files with 6 additions and 2 deletions

View File

@ -4,8 +4,12 @@ addons:
apt: apt:
packages: packages:
- libssl-dev - libssl-dev
- libsodium18 install:
- libsodium-dev - wget https://github.com/jedisct1/libsodium/releases/download/1.0.8/libsodium-1.0.8.tar.gz
- tar xvfz libsodium-1.0.8.tar.gz
- cd libsodium-1.0.8 && ./configure --prefix=$HOME/installed_libsodium && make && make install && cd ..
- export PKG_CONFIG_PATH=$HOME/installed_libsodium/lib/pkgconfig:$PKG_CONFIG_PATH
- export LD_LIBRARY_PATH=$HOME/installed_libsodium/lib:$LD_LIBRARY_PATH
cache: cargo cache: cargo
rust: rust:
- stable - stable