We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 417c1ab + b23fa75 commit e9798b1Copy full SHA for e9798b1
ext/openssl/extconf.rb
@@ -13,7 +13,7 @@
13
14
require "mkmf"
15
16
-dir_config("openssl")
+dir_config_given = dir_config("openssl").any?
17
dir_config("kerberos")
18
19
Logging::message "=== OpenSSL for Ruby configurator ===\n"
@@ -92,7 +92,7 @@ def find_openssl_library
92
end
93
94
Logging::message "=== Checking for required stuff... ===\n"
95
-pkg_config_found = pkg_config("openssl") && have_header("openssl/ssl.h")
+pkg_config_found = !dir_config_given && pkg_config("openssl") && have_header("openssl/ssl.h")
96
97
if !pkg_config_found && !find_openssl_library
98
Logging::message "=== Checking for required stuff failed. ===\n"
0 commit comments