Переглянути джерело

Merge pull request #1139 from Trey2k/master

Prepend PATH to scons env to allow use of buildroot
Rémi Verschelde 2 роки тому
батько
коміт
1bc9ca7b57
1 змінених файлів з 1 додано та 0 видалено
  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