ports/lang/ruby/3.0/patches/patch-lib_mkmf_rb

14 lines
396 B
Text

Ignore linker warnings when compiling native extensions.
Index: lib/mkmf.rb
--- lib/mkmf.rb.orig
+++ lib/mkmf.rb
@@ -398,7 +398,7 @@ MESSAGE
result = nil
Logging.postpone do |log|
output = IO.popen(libpath_env, command, &:read)
- result = ($?.success? and File.zero?(log.path))
+ result = $?.success?
output
end
result