1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00

Reindent Android build script

This commit is contained in:
Frank Denis 2015-08-05 19:46:36 +02:00
parent a934fe072b
commit 7bce6d82f0

View File

@ -25,13 +25,13 @@ export PATH="${PATH}:${TOOLCHAIN_DIR}/bin"
rm -rf "${TOOLCHAIN_DIR}" "${PREFIX}"
bash $MAKE_TOOLCHAIN --platform="${NDK_PLATFORM:-android-21}" \
--arch="$ARCH" \
--install-dir="$TOOLCHAIN_DIR" && \
./configure --host="${HOST_COMPILER}" \
--with-sysroot="${TOOLCHAIN_DIR}/sysroot" \
--prefix="${PREFIX}" \
--arch="$ARCH" --install-dir="$TOOLCHAIN_DIR" && \
./configure \
--disable-soname-versions \
--enable-minimal \
--disable-soname-versions && \
--host="${HOST_COMPILER}" \
--prefix="${PREFIX}" \
--with-sysroot="${TOOLCHAIN_DIR}/sysroot" && \
make clean && \
make -j3 install && \
echo "libsodium has been installed into $PREFIX"