openbsd-ports/lang/ruby/2.7/patches/patch-lib_mkmf_rb
2022-03-11 19:28:46 +00:00

15 lines
396 B
Plaintext

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