From ad5ff46e1fa14dc6f4f27b7cfb855902dddd1c5b Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Fri, 27 Dec 2019 01:00:53 +0100 Subject: Extend mingw search pattern to find x86_64 gcc (#164) The previous pattern only recognized 32 bit compiler versions. --- lib/rake/extensioncompiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1