[macOS] do not install intel related symlinks on arm64 openssl (#8328)
This commit is contained in:
@@ -4,10 +4,13 @@ source ~/utils/utils.sh
|
|||||||
echo "Install [email protected]"
|
echo "Install [email protected]"
|
||||||
brew_smart_install "[email protected]"
|
brew_smart_install "[email protected]"
|
||||||
|
|
||||||
|
# Intel-related symlinks, not needed on arm64 for now
|
||||||
|
if ! is_VenturaArm64; then
|
||||||
# Symlink brew [email protected] to `/usr/local/bin` as Homebrew refuses
|
# Symlink brew [email protected] to `/usr/local/bin` as Homebrew refuses
|
||||||
ln -sf $(brew --prefix [email protected])/bin/openssl /usr/local/bin/openssl
|
ln -sf $(brew --prefix [email protected])/bin/openssl /usr/local/bin/openssl
|
||||||
|
|
||||||
# Most of buildsystems and scripts look up ssl here
|
# Most of buildsystems and scripts look up ssl here
|
||||||
ln -sf $(brew --cellar [email protected])/1.1* /usr/local/opt/openssl
|
ln -sf $(brew --cellar [email protected])/1.1* /usr/local/opt/openssl
|
||||||
|
fi
|
||||||
|
|
||||||
invoke_tests "OpenSSL"
|
invoke_tests "OpenSSL"
|
||||||
|
|||||||
Reference in New Issue
Block a user