From e76a550876356093a0e48bd540ae80daafedcba0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 6 Sep 2022 20:22:21 +0900 Subject: [MSWin] Fix for non-Windows (cygwin/msys) BASERUBY --- win32/mkexports.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') 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 -- cgit v1.2.3