-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds).
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,10 @@ def host_triple(): | |
elif os_type == "android": | ||
os_type = "linux-androideabi" | ||
elif os_type == "windows": | ||
os_type = "pc-windows-msvc" | ||
if os.getenv("MSYSTEM") is None: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
metajack
Author
Contributor
|
||
os_type = "pc-windows-msvc" | ||
else: | ||
os_type = "pc-windows-gnu" | ||
elif os_type.startswith("mingw64_nt-") or os_type.startswith("cygwin_nt-"): | ||
os_type = "pc-windows-gnu" | ||
elif os_type == "freebsd": | ||
|
This change breaks building geckolib inside MozillaBuild. MozillaBuild is basically just a MINGW32 environment with Windows Python, so it has
MSYSTEM
environment.