From 2e2886168e943fd7b6694295e0281abd47c8624c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sun, 11 Oct 2015 15:34:32 +0800 Subject: [PATCH] [Tools] Add win32 spawn patch for module building. --- tools/building.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/building.py b/tools/building.py index 5ad6d4e9d2..38b7881797 100644 --- a/tools/building.py +++ b/tools/building.py @@ -267,6 +267,12 @@ def PrepareModuleBuilding(env, root_directory, bsp_directory): global Env global Rtt_Root + # patch for win32 spawn + if env['PLATFORM'] == 'win32': + win32_spawn = Win32Spawn() + win32_spawn.env = env + env['SPAWN'] = win32_spawn.spawn + Env = env Rtt_Root = root_directory