You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[MinGW] Fix GCC ar detection.
This commit is contained in:
@@ -666,7 +666,7 @@ def get_ar_version(env):
|
|||||||
print_warning("Couldn't check version of `ar`.")
|
print_warning("Couldn't check version of `ar`.")
|
||||||
return ret
|
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:
|
if match:
|
||||||
ret["major"] = int(match[1])
|
ret["major"] = int(match[1])
|
||||||
ret["minor"] = int(match[2])
|
ret["minor"] = int(match[2])
|
||||||
|
|||||||
Reference in New Issue
Block a user