Skip to content

Commit

Permalink
Remove workaround for truffleruby, 24.0 is out and has the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Mar 20, 2024
1 parent 87fd289 commit d9a8ff7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/puma_http11/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# 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 d9a8ff7

Please sign in to comment.