Skip to content

Commit

Permalink
[ruby/openssl] Revert "Always respect the openssl prefix chosen by tr…
Browse files Browse the repository at this point in the history
…uffle/openssl-prefix on TruffleRuby"

* This reverts commit ruby/openssl@ca738e7e1357.
* No longer needed since oracle/truffleruby#3170 was fixed.

ruby/openssl@1f641a5604
  • Loading branch information
eregon authored and matzbot committed Mar 20, 2024
1 parent a008c56 commit 6ecee4e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ext/openssl/extconf.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6ecee4e

Please sign in to comment.