--- ext/openssl/extconf.rb.orig 2020-03-31 20:42:18.000000000 +0900 +++ ext/openssl/extconf.rb 2021-11-08 23:38:09.000000000 +0900 @@ -38,7 +38,9 @@ end Logging::message "=== Checking for required stuff... ===\n" -result = pkg_config("openssl") && have_header("openssl/ssl.h") +# mkmf#pkg_config() looks to ignore PKG_CONFIG_PATH +#result = pkg_config("openssl") && have_header("openssl/ssl.h") +result = nil def find_openssl_library if $mswin || $mingw