summaryrefslogtreecommitdiff
path: root/lib/rake/extensioncompiler.rb
diff options
context:
space:
mode:
authorLars Kanis <kanis@comcard.de>2011-10-31 21:00:45 +0100
committerLars Kanis <kanis@comcard.de>2011-10-31 21:00:45 +0100
commite4f6c1899cbd1bfcd3499209c4002595cf8b1212 (patch)
tree0d5454481feb122b18758c46534e54769b05ac06 /lib/rake/extensioncompiler.rb
parentfdb8f76d652cc4e50534af090d268bb4c99c6ec7 (diff)
downloadrake-compiler-e4f6c1899cbd1bfcd3499209c4002595cf8b1212.tar.gz
Narrow the pattern for mingw-gcc down, to only use the 32-bit one
Diffstat (limited to 'lib/rake/extensioncompiler.rb')
-rw-r--r--lib/rake/extensioncompiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/extensioncompiler.rb b/lib/rake/extensioncompiler.rb
index a93bc45..4544d53 100644
--- 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 = "*mingw*gcc{,.*}"
+ pattern = "i?86*mingw*gcc{,.*}"
@mingw_gcc_executable = paths.find do |path|
# cleanup paths before globbing