Explorar o código

Prepend PATH to scons env

Trey Moller %!s(int64=2) %!d(string=hai) anos
pai
achega
6f7e80bbb6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      SConstruct

+ 1 - 0
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