Skip to content

Commit

Permalink
Revert "Always respect the openssl prefix chosen by truffle/openssl-p…
Browse files Browse the repository at this point in the history
…refix on TruffleRuby"

* This reverts commit ca738e7.
* No longer needed since oracle/truffleruby#3170 was fixed.
  • Loading branch information
eregon committed Dec 1, 2023
1 parent 1fa9fc5 commit 1f641a5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ext/openssl/extconf.rb
Original file line number Diff line number Diff line change
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 1f641a5

Please sign in to comment.