Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions configs/components/ruby-3.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@
end
elsif platform.is_macos?
special_flags += " --with-openssl-dir=#{settings[:prefix]} "
# configure will pick up libgmp from Homebrew, and the resulting compiler
# warnings cause mis-configuration.
special_flags += ' --without-gmp '
end

without_dtrace = [
Expand Down
7 changes: 6 additions & 1 deletion configs/components/ruby-4.0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@
# want to use/maintain pl-ruby if we don't have to. Instead set baseruby to
# "no" which will force ruby to build and use miniruby.
special_flags += ' --with-baseruby=no '
special_flags += " --with-openssl-dir=#{settings[:prefix]} " if platform.is_macos?
if platform.is_macos?
special_flags += " --with-openssl-dir=#{settings[:prefix]} "
# configure will pick up libgmp from Homebrew, and the resulting compiler
# warnings result in mis-configuration.
special_flags += ' --without-gmp '
end

without_dtrace = [
'macos-all-arm64',
Expand Down