cake_wallet/scripts/android/build_boost.sh
2022-03-31 22:33:24 +02:00

16 lines
402 B
Bash
Executable file

#!/bin/sh
. ./config.sh
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
PREFIX=$WORKDIR/prefix_${arch}
PATH="${TOOLCHAIN_BASE_DIR}_${arch}/bin:${ORIGINAL_PATH}"
./init_boost.sh $arch $PREFIX $BOOST_SRC_DIR $BOOST_FILENAME $BOOST_VERSION
./finish_boost.sh $arch $PREFIX $BOOST_SRC_DIR $BOOST_SRC_DIR
done