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

15 lines
388 B
Text
Raw Normal View History

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