diff --git a/lib/rake/extensioncompiler.rb b/lib/rake/extensioncompiler.rb index b3d336b..75f4694 100644 --- a/lib/rake/extensioncompiler.rb +++ b/lib/rake/extensioncompiler.rb @@ -37,7 +37,7 @@ def self.mingw_gcc_executable paths = ENV['PATH'].split(File::PATH_SEPARATOR) # the pattern to look into (captures *nix and windows executables) - pattern = "{mingw32-,i?86*mingw*}gcc{,.*}" + pattern = "{mingw32-,i?86*mingw*,x86*mingw*}gcc{,.*}" @mingw_gcc_executable = paths.find do |path| # cleanup paths before globbing