From e3d7f624c52c15c084abe656c9d7cdc5976faabf Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Mon, 29 May 2023 16:05:22 +0900 Subject: [PATCH] Fix detection? --- ext/openssl/extconf.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index afd5bfefa..ef21bd5f4 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -18,8 +18,6 @@ Logging::message "=== OpenSSL for Ruby configurator ===\n" -have_func("rb_io_descriptor") - ## # Adds -DOSSL_DEBUG for compilation and some more targets when GCC is used # To turn it on, use: --with-debug or --enable-debug @@ -29,6 +27,7 @@ end $defs.push("-D""OPENSSL_SUPPRESS_DEPRECATED") +have_func("rb_io_descriptor") have_func("rb_io_maybe_wait(0, Qnil, Qnil, Qnil)", "ruby/io.h") # Ruby 3.1 Logging::message "=== Checking for system dependent stuff... ===\n"