From 7e8ba0ecff4c26492a5560acef4473e22600fec5 Mon Sep 17 00:00:00 2001 From: Constantin Rack Date: Tue, 28 Apr 2015 10:42:56 +0200 Subject: [PATCH] Solution: Build libsodium from latest master branch. Fixes 1386. --- builds/qt-android/build.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/builds/qt-android/build.sh b/builds/qt-android/build.sh index 8f2c19f3..3d4e6057 100755 --- a/builds/qt-android/build.sh +++ b/builds/qt-android/build.sh @@ -26,15 +26,11 @@ if [[ $ANDROID_BUILD_CLEAN ]]; then fi ## -# Build libsodium from latest release tarball +# Build libsodium from latest master branch (android_build_verify_so "libsodium.so" &> /dev/null) || { rm -rf "${cache}/libsodium" - (cd "${cache}" && mkdir libsodium \ - && 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}" && git clone git://github.com/jedisct1/libsodium.git) || exit 1 (cd "${cache}/libsodium" && ./autogen.sh \ && ./configure "${ANDROID_BUILD_OPTS[@]}" --disable-soname-versions \ && make \