Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Qualify mingw32-gcc as a valid MinGW compiler.

  • Loading branch information...
commit 9e9cb1c7a9cb6b06510b77ce2d9d6778661d71b1 1 parent eb51b3f
Akinori MUSHA knu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rake/extensioncompiler.rb
2  lib/rake/extensioncompiler.rb 100644 → 100755
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.