Skip to content

Commit 6f7e80b

Browse files
authored
Prepend PATH to scons env
1 parent be25a50 commit 6f7e80b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SConstruct

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ else:
5454
# Default tools with no platform defaults to gnu toolchain.
5555
# We apply platform specific toolchains via our custom tools.
5656
env = Environment(tools=["default"], PLATFORM="")
57+
env.PrependENVPath("PATH", os.getenv("PATH"))
5758

5859
# Default num_jobs to local cpu count if not user specified.
5960
# SCons has a peculiarity where user-specified options won't be overridden

0 commit comments

Comments
 (0)