mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
build: android: always clone zlib
This commit is contained in:
parent
2337ae557e
commit
09db6151e4
1 changed files with 2 additions and 3 deletions
|
@ -11,9 +11,8 @@ ZLIB_DIR=$WORKDIR/zlib
|
||||||
ZLIB_TAG=v1.2.11
|
ZLIB_TAG=v1.2.11
|
||||||
ZLIB_COMMIT_HASH="cacf7f1d4e3d44d871b605da3b647f07d718623f"
|
ZLIB_COMMIT_HASH="cacf7f1d4e3d44d871b605da3b647f07d718623f"
|
||||||
|
|
||||||
if [ ! -d "$ZLIB_DIR" ] ; then
|
rm -rf $ZLIB_DIR
|
||||||
git clone -b $ZLIB_TAG --depth 1 https://github.com/madler/zlib $ZLIB_DIR
|
git clone -b $ZLIB_TAG --depth 1 https://github.com/madler/zlib $ZLIB_DIR
|
||||||
fi
|
|
||||||
cd $ZLIB_DIR
|
cd $ZLIB_DIR
|
||||||
git reset --hard $ZLIB_COMMIT_HASH
|
git reset --hard $ZLIB_COMMIT_HASH
|
||||||
CC=clang CXX=clang++ ./configure --static
|
CC=clang CXX=clang++ ./configure --static
|
||||||
|
|
Loading…
Reference in a new issue