Skip to content

Commit

Permalink
Merge pull request godotengine#96747 from bruvzg/fix_ar_det
Browse files Browse the repository at this point in the history
[MinGW] Fix GCC ar detection.
  • Loading branch information
akien-mga committed Sep 9, 2024
2 parents 7cda7ce + b1f9271 commit 9fb54b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/windows/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 9fb54b7

Please sign in to comment.