Revert x86_64 homebrew location change (with explanation).

This commit is contained in:
Russell Keith-Magee 2024-10-31 09:50:38 +08:00
parent 01270b5859
commit 51e3623066
No known key found for this signature in database
GPG Key ID: 3D2DAB6A37BB5BC3

View File

@ -7,7 +7,10 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
# However, we *do* need Homebrew to provide a copy of fribidi for
# testing purposes so that we can verify the fribidi shim works as expected.
if [[ "$(uname -m)" == "x86_64" ]]; then
HOMEBREW_HOME=/usr/local
# Use the "installed" location, rather than /usr/local, for two reasons:
# firstly, Homebrew allows libraries to be *installed*, but not linked;
# and secondly, we don't want any *other* leakage from /usr/local.
HOMEBREW_HOME=/usr/local/Homebrew
else
HOMEBREW_HOME=/opt/homebrew
fi