mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-28 15:51:09 +01:00
TruffleRuby: remove explicit openssl@1.1 requirement on macOS
TruffleRuby build definitions used to explicitly rely on `brew --prefix openssl@1.1` on macOS and abort installation if that was not found. However, this check didn't take into account that the user might have set OPENSSL_PREFIX in their environment, or that they have another `openssl@*` version installed via Homebrew. This change removes the `use_homebrew_openssl` check and allows TruffleRuby to perform its own OpenSSL detection. https://github.com/oracle/truffleruby/blob/vm-23.1.0/lib/truffle/truffle/openssl-prefix.rb#L14-L17
This commit is contained in:
parent
0e4c61d868
commit
db600ccdfd
58 changed files with 1 additions and 73 deletions
|
|
@ -1068,6 +1068,7 @@ needs_openssl_102_300() {
|
|||
(( version < 102 || version >= 400 ))
|
||||
}
|
||||
|
||||
# Kept for backward compatibility with 3rd-party Ruby definitions.
|
||||
use_homebrew_openssl() {
|
||||
local ssldir
|
||||
ssldir="$(brew --prefix openssl@1.1 2>/dev/null || true)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue