Bug 1100925 - Added mingw32-make to the list of possible makes. r?gps
Technically, this includes the mingw64 version of make, but it is still called mingw32-make when installed from pacman with msys2.
This is a necessary step to make Firefox build on a pure msys2 environment.
Also, unlike mozmake, because this make is installed from a package manager. It can be automatically updated.
MozReview-Commit-ID: EAN6xmIgYWd
--- a/python/mozbuild/mozbuild/base.py
+++ b/python/mozbuild/mozbuild/base.py
@@ -615,17 +615,17 @@ class MozbuildObject(ProcessExecutionMix
try:
subprocess.check_output(cmd, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
return False, is_xcode_lisense_error(e.output)
return True, False
return False, False
xcode_lisense_error = False
- possible_makes = ['gmake', 'make', 'mozmake', 'gnumake']
+ possible_makes = ['gmake', 'make', 'mozmake', 'gnumake', 'mingw32-make']
if 'MAKE' in os.environ:
make = os.environ['MAKE']
possible_makes.insert(0, make)
for test in possible_makes:
if os.path.isabs(test):
make = test