summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-09-09 10:39:48 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-09-09 11:01:29 +0300
commitb1f9271e49bd1041ef2ae22e33f44ba9d68051f0 (patch)
tree42f4f69b3da2673dee778433de636945090d861d
parentd0dc3896ad6fe039e4ad0607d901c81197cb3a3b (diff)
downloadredot-engine-b1f9271e49bd1041ef2ae22e33f44ba9d68051f0.tar.gz
[MinGW] Fix GCC ar detection.
-rw-r--r--platform/windows/detect.py2
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])