Permalink
Browse files

Qualify mingw32-gcc as a valid MinGW compiler.

  • Loading branch information...
1 parent eb51b3f commit 9e9cb1c7a9cb6b06510b77ce2d9d6778661d71b1 @knu knu committed Feb 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rake/extensioncompiler.rb
View
2 lib/rake/extensioncompiler.rb 100644 → 100755
@@ -39,7 +39,7 @@ def self.mingw_gcc_executable
paths = ENV['PATH'].split(File::PATH_SEPARATOR)
# the pattern to look into (captures *nix and windows executables)
- pattern = "i?86*mingw*gcc{,.*}"
+ pattern = "{mingw32-,i?86*mingw*}gcc{,.*}"
@mingw_gcc_executable = paths.find do |path|
# cleanup paths before globbing

0 comments on commit 9e9cb1c

Please sign in to comment.