Commit 7e8ba0ec authored by Constantin Rack's avatar Constantin Rack

Solution: Build libsodium from latest master branch. Fixes 1386.

parent 3ec0e770
...@@ -26,15 +26,11 @@ if [[ $ANDROID_BUILD_CLEAN ]]; then ...@@ -26,15 +26,11 @@ if [[ $ANDROID_BUILD_CLEAN ]]; then
fi fi
## ##
# Build libsodium from latest release tarball # Build libsodium from latest master branch
(android_build_verify_so "libsodium.so" &> /dev/null) || { (android_build_verify_so "libsodium.so" &> /dev/null) || {
rm -rf "${cache}/libsodium" rm -rf "${cache}/libsodium"
(cd "${cache}" && mkdir libsodium \ (cd "${cache}" && git clone git://github.com/jedisct1/libsodium.git) || exit 1
&& wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz\
-O "${cache}/libsodium.tar.gz" \
&& tar -C libsodium -xf libsodium.tar.gz --strip=1) || exit 1
(cd "${cache}/libsodium" && ./autogen.sh \ (cd "${cache}/libsodium" && ./autogen.sh \
&& ./configure "${ANDROID_BUILD_OPTS[@]}" --disable-soname-versions \ && ./configure "${ANDROID_BUILD_OPTS[@]}" --disable-soname-versions \
&& make \ && make \
......
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