Files
runner-images-temp/images/macos/scripts/build/install-openssl.sh
T

26 lines
803 B
Bash
Raw Normal View History

#!/bin/bash -e -o pipefail
2023-11-28 02:25:03 +01:00
################################################################################
## File: install-openssl.sh
## Desc: Install openssl
################################################################################
2020-10-07 11:59:01 +03:00
source ~/utils/utils.sh
echo "Install [email protected]"
brew_smart_install "[email protected]"
2020-09-10 14:34:08 +03:00
if ! is_Arm64; then
# Symlink brew [email protected] to `/usr/local/bin` as Homebrew refuses
ln -sf $(brew --prefix [email protected])/bin/openssl /usr/local/bin/openssl
else
# arm64 has a different installation prefix for brew
ln -sf $(brew --prefix [email protected])/bin/openssl /opt/homebrew/bin/openssl
fi
if ! is_Arm64; then
2024-03-14 10:53:11 +01:00
# Most of build systems and scripts look up ssl here
ln -sf $(brew --cellar [email protected])/1.1* /usr/local/opt/openssl
fi
invoke_tests "OpenSSL"