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.
1 parent e8ee01b commit b23fa75Copy full SHA for b23fa75
ext/openssl/extconf.rb
@@ -14,7 +14,7 @@
14
require "mkmf"
15
require File.expand_path('../deprecation', __FILE__)
16
17
-dir_config("openssl")
+dir_config_given = dir_config("openssl").any?
18
dir_config("kerberos")
19
20
Logging::message "=== OpenSSL for Ruby configurator ===\n"
@@ -88,7 +88,7 @@ def find_openssl_library
88
end
89
90
Logging::message "=== Checking for required stuff... ===\n"
91
-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")
92
93
if !pkg_config_found && !find_openssl_library
94
Logging::message "=== Checking for required stuff failed. ===\n"
0 commit comments