diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2019-12-27 01:00:53 +0100 |
---|---|---|
committer | Sutou Kouhei <kou@clear-code.com> | 2019-12-27 09:00:53 +0900 |
commit | ad5ff46e1fa14dc6f4f27b7cfb855902dddd1c5b (patch) | |
tree | 3402930d21691b768baa53cb7224440356b6a56c | |
parent | d76da276ba556bdefdddcc775b7f7907b8e1273e (diff) | |
download | rake-compiler-ad5ff46e1fa14dc6f4f27b7cfb855902dddd1c5b.tar.gz |
Extend mingw search pattern to find x86_64 gcc (#164)
The previous pattern only recognized 32 bit compiler versions.
-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 b3d336b..75f4694 100644 --- a/lib/rake/extensioncompiler.rb +++ b/lib/rake/extensioncompiler.rb @@ -37,7 +37,7 @@ module Rake 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 |