diff options
author | Akinori MUSHA <knu@idaemons.org> | 2013-02-14 19:53:50 +0900 |
---|---|---|
committer | Akinori MUSHA <knu@idaemons.org> | 2013-02-14 19:53:50 +0900 |
commit | 9e9cb1c7a9cb6b06510b77ce2d9d6778661d71b1 (patch) | |
tree | 821686e5c946af44166cc31e691efaa2627944b2 /lib/rake/extensioncompiler.rb | |
parent | eb51b3feb6131336146d03f2163cbc0094377a1f (diff) | |
download | rake-compiler-9e9cb1c7a9cb6b06510b77ce2d9d6778661d71b1.tar.gz |
Qualify mingw32-gcc as a valid MinGW compiler.
Diffstat (limited to 'lib/rake/extensioncompiler.rb')
-rwxr-xr-x[-rw-r--r--] | lib/rake/extensioncompiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/extensioncompiler.rb b/lib/rake/extensioncompiler.rb index 4544d53..06ff333 100644..100755 --- a/lib/rake/extensioncompiler.rb +++ b/lib/rake/extensioncompiler.rb @@ -39,7 +39,7 @@ module Rake 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 |