Skip to content

Commit

Permalink
Add brew --prefix libffi to --with-opt-dir (closes #292).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 6, 2025
1 parent 0ac8b8b commit 1bc5780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/ruby-install/ruby/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function configure_ruby()
log "Configuring ruby $ruby_version ..."
case "$package_manager" in
brew)
opt_dir="$(brew --prefix readline):$(brew --prefix libyaml)"
opt_dir="$(brew --prefix readline):$(brew --prefix libyaml):$(brew --prefix libffi)"
openssl_dir="$(brew --prefix "openssl@${openssl_version}")"

if [[ "${ruby_dependencies[*]}" == *"gdbm"* ]]; then
Expand Down

0 comments on commit 1bc5780

Please sign in to comment.