Skip to content

Commit

Permalink
Remove workaround for truffleruby, 24.0 is out and has the fix (puma#…
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Mar 20, 2024
1 parent 7c8d15a commit 2314d7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/puma_http11/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@

unless ENV["PUMA_DISABLE_SSL"]
# don't use pkg_config('openssl') if '--with-openssl-dir' is used
# also looks within the Ruby build for directory info
has_openssl_dir = dir_config('openssl').any? ||
RbConfig::CONFIG['configure_args']&.include?('openssl') ||
Dir.exist?("#{RbConfig::TOPDIR}/src/main/c/openssl") # TruffleRuby
RbConfig::CONFIG['configure_args']&.include?('openssl')

found_pkg_config = !has_openssl_dir && pkg_config('openssl')

Expand Down

0 comments on commit 2314d7a

Please sign in to comment.