Fix arch match for monero lib for darwin x86_64 -> x86-64

This commit is contained in:
M 2023-01-19 15:54:59 -05:00
parent 31fa9e8b19
commit ae3620b171

View file

@ -32,6 +32,10 @@ export CMAKE_INCLUDE_PATH="${PREFIX}/include"
export CMAKE_LIBRARY_PATH="${PREFIX}/lib"
rm -r monero/build > /dev/null
if [ "${ARCH}" == "x86_64" ]; then
ARCH="x86-64"
fi
mkdir -p monero/build/${BUILD_TYPE}
pushd monero/build/${BUILD_TYPE}
cmake -DARCH=${ARCH} \