[Tools] Add win32 spawn patch for module building.
This commit is contained in:
parent
a65ee8ac45
commit
2e2886168e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue