fix(coreos-base/libchrome): Fix building with sysroot-wrappers

Tell the scons build to pass the PATH environment variable through.
This commit is contained in:
Michael Marineau 2013-07-17 18:53:41 -04:00
parent d9cdb511a3
commit 0ff9fe09d6

View File

@ -167,7 +167,7 @@ env['CCFLAGS'] += ['-fPIC',
'-I..'] '-I..']
# Fix issue with scons not passing some vars through the environment. # Fix issue with scons not passing some vars through the environment.
for key in Split('PKG_CONFIG SYSROOT'): for key in Split('PATH PKG_CONFIG SYSROOT'):
if os.environ.has_key(key): if os.environ.has_key(key):
env['ENV'][key] = os.environ[key] env['ENV'][key] = os.environ[key]