diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-09 17:51:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-09 17:51:56 +0200 |
commit | 9fb54b7d1dc61342a35c14cadcceaad54f8da0b6 (patch) | |
tree | 382eeb4274fe9d677f115f6843f87a16ed0bf653 /platform/windows/detect.py | |
parent | 7cda7ced2b293c4c37e203261661b7e5bddd3f19 (diff) | |
parent | b1f9271e49bd1041ef2ae22e33f44ba9d68051f0 (diff) | |
download | redot-engine-9fb54b7d1dc61342a35c14cadcceaad54f8da0b6.tar.gz |
Merge pull request #96747 from bruvzg/fix_ar_det
[MinGW] Fix GCC ar detection.
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r-- | platform/windows/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 92ac921cee..684a7c34a0 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -666,7 +666,7 @@ def get_ar_version(env): print_warning("Couldn't check version of `ar`.") return ret - match = re.search(r"GNU ar \(GNU Binutils\) (\d+)\.(\d+)(:?\.(\d+))?", output) + match = re.search(r"GNU ar \(GNU Binutils\) (\d+)\.(\d+)(?:\.(\d+))?", output) if match: ret["major"] = int(match[1]) ret["minor"] = int(match[2]) |