summaryrefslogtreecommitdiffstats
path: root/platform/macos/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-15 15:44:33 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-15 15:44:33 +0100
commit83215bd58abf23c98d8c5e482fce482509b027a8 (patch)
treebd43d870b6bd43923b3d3f81f68f459ea29c7144 /platform/macos/detect.py
parent994dd21c0263ecbf1f1dc777eca2d639732c4143 (diff)
parent633dcf6dfdffe0503b2e88594d535f63e279bc16 (diff)
downloadredot-engine-83215bd58abf23c98d8c5e482fce482509b027a8.tar.gz
Merge pull request #85322 from Repiteo/scons-Environment-to-SConsEnvironment
SCons: Change `Environment` type hints to `SConsEnvironment`
Diffstat (limited to 'platform/macos/detect.py')
-rw-r--r--platform/macos/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/detect.py b/platform/macos/detect.py
index 54eeb833fa..cfbe9a8ee7 100644
--- a/platform/macos/detect.py
+++ b/platform/macos/detect.py
@@ -6,7 +6,7 @@ from platform_methods import detect_arch, detect_mvk
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from SCons import Environment
+ from SCons.Script.SConscript import SConsEnvironment
def get_name():
@@ -59,7 +59,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: