diff options
Diffstat (limited to 'wince/mkexports.rb')
-rw-r--r-- | wince/mkexports.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wince/mkexports.rb b/wince/mkexports.rb index 2508920c67..8e96649276 100644 --- a/wince/mkexports.rb +++ b/wince/mkexports.rb @@ -6,7 +6,7 @@ objs = ARGV.collect {|s| p s+'\n'; s.tr('/', '\\') } IO.foreach("|dumpbin -symbols " + objs.join(' ')) do |l| next if /^[0-9A-F]+ 0+ UNDEF / =~ l next unless l.sub!(/.*\sExternal\s+\|\s+/, '') - if ARGV[1]=="sh3" + if ARGV[1]=~/sh/ if l.sub!(/^_/, '') next if /@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1') |