summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2023-11-24 13:31:05 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-02-14 09:26:47 -0600
commit633dcf6dfdffe0503b2e88594d535f63e279bc16 (patch)
treef7f95858f90dd5bc35e08071da62f988d5fe8da3 /platform/linuxbsd/detect.py
parent907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff)
downloadredot-engine-633dcf6dfdffe0503b2e88594d535f63e279bc16.tar.gz
SCons: "Environment" to "SConsEnvironment"
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 94784f2da9..8fbd8b10b1 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -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: