summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorTrey Moller <treym2k.dev@gmail.com>2023-06-14 10:30:24 -0500
committerGitHub <noreply@github.com>2023-06-14 10:30:24 -0500
commit6f7e80bbb6adf5e900e75d9b81ea5b59dafd5c29 (patch)
tree9a13cee2bbff243dfeac6283704358c36b897088 /SConstruct
parentbe25a50617d89dd20688f76fcedd87ffd133dbd1 (diff)
downloadredot-cpp-6f7e80bbb6adf5e900e75d9b81ea5b59dafd5c29.tar.gz
Prepend PATH to scons env
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 27ee137..42f8fc0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -54,6 +54,7 @@ else:
# Default tools with no platform defaults to gnu toolchain.
# We apply platform specific toolchains via our custom tools.
env = Environment(tools=["default"], PLATFORM="")
+env.PrependENVPath("PATH", os.getenv("PATH"))
# Default num_jobs to local cpu count if not user specified.
# SCons has a peculiarity where user-specified options won't be overridden