build script: use adjusted environment for target installation

This commit is contained in:
alexey.lysiuk 2020-12-28 10:54:40 +02:00
parent bddd779361
commit f0b23e87f2

View file

@ -143,7 +143,7 @@ class Target(BaseTarget):
args += options and options.to_list() or []
work_path = builder.build_path + self.src_root
subprocess.check_call(args, cwd=work_path)
subprocess.check_call(args, cwd=work_path, env=self.environment)
self.update_pc_files()