mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[ruby/openssl] Always respect the openssl prefix chosen by truffle/openssl-prefix on TruffleRuby
* See https://github.com/ruby/openssl/issues/650#issuecomment-1645699608
ca738e7e13
This commit is contained in:
parent
dd1af4b22d
commit
14d16bdb1a
1 changed files with 8 additions and 1 deletions
|
@ -13,7 +13,14 @@
|
||||||
|
|
||||||
require "mkmf"
|
require "mkmf"
|
||||||
|
|
||||||
dir_config_given = dir_config("openssl").any?
|
if defined?(::TruffleRuby)
|
||||||
|
# Always respect the openssl prefix chosen by truffle/openssl-prefix
|
||||||
|
require 'truffle/openssl-prefix'
|
||||||
|
dir_config_given = dir_config("openssl", ENV["OPENSSL_PREFIX"]).any?
|
||||||
|
else
|
||||||
|
dir_config_given = dir_config("openssl").any?
|
||||||
|
end
|
||||||
|
|
||||||
dir_config("kerberos")
|
dir_config("kerberos")
|
||||||
|
|
||||||
Logging::message "=== OpenSSL for Ruby configurator ===\n"
|
Logging::message "=== OpenSSL for Ruby configurator ===\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue