Skip to content

Commit ec8c404

Browse files
authored
fix rosseta builds (#1593)
1 parent fb3f64f commit ec8c404

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

scripts/macos/build_monero_all.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,14 @@ else
4343
WOWNERO_LIBS=" -arch ${ARCH} ${WOWNEROC_RELEASE_DIR}/${HOST}_libwallet2_api_c.dylib"
4444

4545
if [[ ! $(uname -m) == $ARCH ]]; then
46-
PRC="arch -${ARCH}"
46+
PRC="arch -${ARCH}"
4747
fi
4848

49-
pushd ../monero_c
49+
pushd ../monero_c
5050
$PRC ./build_single.sh ${COIN} ${HOST} $NPROC
51-
unxz -f ./release/${COIN}/${HOST}_libwallet2_api_c.dylib.xz
52-
53-
popd
54-
done
51+
unxz -f ./release/${COIN}/${HOST}_libwallet2_api_c.dylib.xz
52+
popd
53+
done
5554
done
5655
fi
5756

scripts/prepare_moneroc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [[ ! -d "monero_c" ]];
88
then
99
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
1010
cd monero_c
11-
git checkout bcb328a4956105dc182afd0ce2e48fe263f5f20b
11+
git checkout 5de323b1ba7387cf73973042f06383d4dbe619f5
1212
git reset --hard
1313
git submodule update --init --force --recursive
1414
./apply_patches.sh monero

0 commit comments

Comments
 (0)