You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: "Environment" to "SConsEnvironment"
This commit is contained in:
@@ -5,7 +5,7 @@ from methods import detect_darwin_sdk_path
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from SCons import Environment
|
||||
from SCons.Script.SConscript import SConsEnvironment
|
||||
|
||||
|
||||
def get_name():
|
||||
@@ -54,7 +54,7 @@ def get_flags():
|
||||
]
|
||||
|
||||
|
||||
def configure(env: "Environment"):
|
||||
def configure(env: "SConsEnvironment"):
|
||||
# Validate arch.
|
||||
supported_arches = ["x86_64", "arm64"]
|
||||
if env["arch"] not in supported_arches:
|
||||
|
||||
Reference in New Issue
Block a user