mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
fix rosseta builds (#1593)
This commit is contained in:
parent
fb3f64facf
commit
ec8c404086
2 changed files with 6 additions and 7 deletions
|
@ -43,15 +43,14 @@ else
|
||||||
WOWNERO_LIBS=" -arch ${ARCH} ${WOWNEROC_RELEASE_DIR}/${HOST}_libwallet2_api_c.dylib"
|
WOWNERO_LIBS=" -arch ${ARCH} ${WOWNEROC_RELEASE_DIR}/${HOST}_libwallet2_api_c.dylib"
|
||||||
|
|
||||||
if [[ ! $(uname -m) == $ARCH ]]; then
|
if [[ ! $(uname -m) == $ARCH ]]; then
|
||||||
PRC="arch -${ARCH}"
|
PRC="arch -${ARCH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd ../monero_c
|
pushd ../monero_c
|
||||||
$PRC ./build_single.sh ${COIN} ${HOST} $NPROC
|
$PRC ./build_single.sh ${COIN} ${HOST} $NPROC
|
||||||
unxz -f ./release/${COIN}/${HOST}_libwallet2_api_c.dylib.xz
|
unxz -f ./release/${COIN}/${HOST}_libwallet2_api_c.dylib.xz
|
||||||
|
popd
|
||||||
popd
|
done
|
||||||
done
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [[ ! -d "monero_c" ]];
|
||||||
then
|
then
|
||||||
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
|
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
|
||||||
cd monero_c
|
cd monero_c
|
||||||
git checkout bcb328a4956105dc182afd0ce2e48fe263f5f20b
|
git checkout 5de323b1ba7387cf73973042f06383d4dbe619f5
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git submodule update --init --force --recursive
|
git submodule update --init --force --recursive
|
||||||
./apply_patches.sh monero
|
./apply_patches.sh monero
|
||||||
|
|
Loading…
Reference in a new issue