fix rosseta builds (#1593)
cyan committed
Aug 17, 2024 at 04:25 UTC
ec8c404086f0c87e000afb881e9c4ba600e5602b
2 files changed
+6
-7
scripts/macos/build_monero_all.sh
+5
-6
@@ -43,15 +43,14 @@ else
43
WOWNERO_LIBS=" -arch ${ARCH} ${WOWNEROC_RELEASE_DIR}/${HOST}_libwallet2_api_c.dylib"
44
45
if [[ ! $(uname -m) == $ARCH ]]; then
46
- PRC="arch -${ARCH}"
46
+ PRC="arch -${ARCH}"
47
fi
48
49
- pushd ../monero_c
49
+ pushd ../monero_c
50
$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
54
done
55
fi
56
scripts/prepare_moneroc.sh
+1
-1
@@ -8,7 +8,7 @@ if [[ ! -d "monero_c" ]];
8
then
9
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
10
cd monero_c
11
- git checkout bcb328a4956105dc182afd0ce2e48fe263f5f20b
11
+ git checkout 5de323b1ba7387cf73973042f06383d4dbe619f5
12
git reset --hard
13
git submodule update --init --force --recursive
14
./apply_patches.sh monero