From d9a8ff735db70480290b40d61d8f9c209c245a33 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 20 Mar 2024 12:36:21 +0100 Subject: [PATCH] Remove workaround for truffleruby, 24.0 is out and has the fix * See https://github.com/oracle/truffleruby/issues/3303#issuecomment-1836083623 --- ext/puma_http11/extconf.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/puma_http11/extconf.rb b/ext/puma_http11/extconf.rb index 0751480feb..72a5f59a14 100644 --- a/ext/puma_http11/extconf.rb +++ b/ext/puma_http11/extconf.rb @@ -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')