mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
SCons: "Environment" to "SConsEnvironment"
This commit is contained in:
parent
907db8eebc
commit
633dcf6dfd
6 changed files with 24 additions and 24 deletions
|
|
@ -7,7 +7,7 @@ from platform_methods import detect_arch
|
|||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from SCons import Environment
|
||||
from SCons.Script.SConscript import SConsEnvironment
|
||||
|
||||
|
||||
def get_name():
|
||||
|
|
@ -70,7 +70,7 @@ def get_flags():
|
|||
]
|
||||
|
||||
|
||||
def configure(env: "Environment"):
|
||||
def configure(env: "SConsEnvironment"):
|
||||
# Validate arch.
|
||||
supported_arches = ["x86_32", "x86_64", "arm32", "arm64", "rv64", "ppc32", "ppc64"]
|
||||
if env["arch"] not in supported_arches:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue