summaryrefslogtreecommitdiff
path: root/win32/mkexports.rb
diff options
context:
space:
mode:
Diffstat (limited to 'win32/mkexports.rb')
-rwxr-xr-xwin32/mkexports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 7ef12cdffd..90c4d7f914 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -80,7 +80,7 @@ end
class Exports::Mswin < Exports
def each_export(objs)
- noprefix = ($arch ||= nil and /^sh/ !~ $arch)
+ noprefix = ($arch ||= nil and /^(sh|i\d86)/ !~ $arch)
objs = objs.collect {|s| s.tr('/', '\\')}
filetype = nil
IO.popen(%w"dumpbin -symbols -exports" + objs) do |f|