mkexports.rb: Revert removed flip-flop
This reverts commit 63ae1e3cb5d302e5229143c00152328166d26780.
This commit is contained in:
parent
002438767d
commit
7be4c0a88d
@ -106,11 +106,7 @@ class Exports::Mswin < Exports
|
|||||||
objs = objs.collect {|s| s.tr('/', '\\')}
|
objs = objs.collect {|s| s.tr('/', '\\')}
|
||||||
filetype = nil
|
filetype = nil
|
||||||
objdump(objs) do |l|
|
objdump(objs) do |l|
|
||||||
if filetype
|
if (filetype = l[/^File Type: (.+)/, 1])..(/^\f/ =~ l)
|
||||||
if /^\f/ =~ l
|
|
||||||
filetype = nil
|
|
||||||
next
|
|
||||||
end
|
|
||||||
case filetype
|
case filetype
|
||||||
when /OBJECT/, /LIBRARY/
|
when /OBJECT/, /LIBRARY/
|
||||||
l.chomp!
|
l.chomp!
|
||||||
@ -132,8 +128,6 @@ class Exports::Mswin < Exports
|
|||||||
next
|
next
|
||||||
end
|
end
|
||||||
yield l.strip, is_data
|
yield l.strip, is_data
|
||||||
else
|
|
||||||
filetype = l[/^File Type: (.+)/, 1]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
yield "strcasecmp", "msvcrt.stricmp"
|
yield "strcasecmp", "msvcrt.stricmp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user