Skip to content

Commit

Permalink
ignore pkgconfig when any openssl option is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Jan 11, 2022
1 parent e8ee01b commit 4386ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/openssl/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def find_openssl_library
end

Logging::message "=== Checking for required stuff... ===\n"
pkg_config_found = pkg_config("openssl") && have_header("openssl/ssl.h")
pkg_config_found = dir_config("openssl").compact.empty? && pkg_config("openssl") && have_header("openssl/ssl.h")

if !pkg_config_found && !find_openssl_library
Logging::message "=== Checking for required stuff failed. ===\n"
Expand Down

0 comments on commit 4386ad5

Please sign in to comment.