diff --git a/tools/update-deps b/tools/update-deps index 817e64e5..8f0f56cb 100755 --- a/tools/update-deps +++ b/tools/update-deps @@ -128,8 +128,8 @@ def updateV8(): elif sys.platform == 'darwin': run(['make', '-j' + str(cores), 'native'], cwd=kV8Work) elif sys.platform == 'win32': - run(['gn', 'gen', 'out/native', '--args="is_component_build=true"']) - run(['ninja', '-C', 'out/native']) + run(['gn', 'gen', 'out/native', '--args="is_component_build=true"'], cwd=kV8Work, env=win32Env) + run(['ninja', '-C', 'out/native'], cwd=kV8Work, env=win32Env) if __name__ == '__main__': updateUv()