summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-06 20:22:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-08 13:41:02 +0900
commite76a550876356093a0e48bd540ae80daafedcba0 (patch)
tree61980fa599e4808f126c50300c17ba534706974f /win32
parent26c4230404b62475813c50561751487735d6bbdd (diff)
downloadruby-e76a550876356093a0e48bd540ae80daafedcba0.tar.gz
[MSWin] Fix for non-Windows (cygwin/msys) BASERUBY
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/mkexports.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 70b7f3f228..6808a38ea0 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -113,6 +113,7 @@ class Exports::Mswin < Exports
end
case filetype
when /OBJECT/, /LIBRARY/
+ l.chomp!
next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
next unless /External/ =~ l
next if /(?:_local_stdio_printf_options|v(f|sn?)printf(_s)?_l)\Z/ =~ l