From 1f641a560496189476cc0ad6720b7529d556a413 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Fri, 1 Dec 2023 13:46:53 +0100 Subject: [PATCH] Revert "Always respect the openssl prefix chosen by truffle/openssl-prefix on TruffleRuby" * This reverts commit ca738e7e13570e88eaa9892cbb3dffb330320706. * No longer needed since https://github.com/oracle/truffleruby/issues/3170 was fixed. --- ext/openssl/extconf.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 56f4a1c3a..fb9ccbe46 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -13,14 +13,7 @@ require "mkmf" -ssl_dirs = nil -if defined?(::TruffleRuby) - # Always respect the openssl prefix chosen by truffle/openssl-prefix - require 'truffle/openssl-prefix' - ssl_dirs = dir_config("openssl", ENV["OPENSSL_PREFIX"]) -else - ssl_dirs = dir_config("openssl") -end +ssl_dirs = dir_config("openssl") dir_config_given = ssl_dirs.any? _, ssl_ldir = ssl_dirs