Skip to content

Commit

Permalink
Merge pull request #705 from eregon/remove-truffleruby-workardound
Browse files Browse the repository at this point in the history
Revert openssl dir workaround on TruffleRuby
  • Loading branch information
eregon authored Mar 20, 2024
2 parents 043c503 + 1f641a5 commit 45c731c
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 45c731c

Please sign in to comment.