mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
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:
parent
d9cdb511a3
commit
0ff9fe09d6
@ -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]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user