mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Merge pull request #317 from cake-tech/build_android_boost_175
build: android: bump Boost to 1.75
This commit is contained in:
commit
275fc8b831
2 changed files with 5 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./config.sh
|
||||
BOOST_SRC_DIR=$WORKDIR/boost_1_74_0
|
||||
BOOST_FILENAME=boost_1_74_0.tar.bz2
|
||||
BOOST_VERSION=1.74.0
|
||||
BOOST_SRC_DIR=$WORKDIR/boost_1_75_0
|
||||
BOOST_FILENAME=boost_1_75_0.tar.bz2
|
||||
BOOST_VERSION=1.75.0
|
||||
|
||||
for arch in "aarch" "aarch64" "i686" "x86_64"
|
||||
do
|
||||
|
|
|
@ -6,7 +6,7 @@ BOOST_SRC_DIR=$3
|
|||
BOOST_FILENAME=$4
|
||||
BOOST_VERSION=$5
|
||||
BOOST_FILE_PATH=$WORKDIR/$BOOST_FILENAME
|
||||
BOOST_SHA256="83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1"
|
||||
BOOST_SHA256="953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"
|
||||
|
||||
if [ ! -e "$BOOST_FILE_PATH" ]; then
|
||||
curl -L http://downloads.sourceforge.net/project/boost/boost/${BOOST_VERSION}/${BOOST_FILENAME} > $BOOST_FILE_PATH
|
||||
|
@ -16,6 +16,7 @@ echo $BOOST_SHA256 $BOOST_FILE_PATH | sha256sum -c - || exit 1
|
|||
|
||||
cd $WORKDIR
|
||||
rm -rf $BOOST_SRC_DIR
|
||||
rm -rf $PREFIX/include/boost
|
||||
tar -xvf $BOOST_FILE_PATH -C $WORKDIR
|
||||
cd $BOOST_SRC_DIR
|
||||
./bootstrap.sh --prefix=${PREFIX}
|
||||
|
|
Loading…
Reference in a new issue