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:
@@ -15,7 +15,7 @@ from SCons.Util import WhereIs
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from SCons import Environment
|
||||
from SCons.Script.SConscript import SConsEnvironment
|
||||
|
||||
|
||||
def get_name():
|
||||
@@ -81,7 +81,7 @@ def get_flags():
|
||||
]
|
||||
|
||||
|
||||
def configure(env: "Environment"):
|
||||
def configure(env: "SConsEnvironment"):
|
||||
# Validate arch.
|
||||
supported_arches = ["wasm32"]
|
||||
if env["arch"] not in supported_arches:
|
||||
|
||||
Reference in New Issue
Block a user