Skip to content

Commit 2e28861

Browse files
committed
[Tools] Add win32 spawn patch for module building.
1 parent a65ee8a commit 2e28861

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/building.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,12 @@ def PrepareModuleBuilding(env, root_directory, bsp_directory):
267267
global Env
268268
global Rtt_Root
269269

270+
# patch for win32 spawn
271+
if env['PLATFORM'] == 'win32':
272+
win32_spawn = Win32Spawn()
273+
win32_spawn.env = env
274+
env['SPAWN'] = win32_spawn.spawn
275+
270276
Env = env
271277
Rtt_Root = root_directory
272278

0 commit comments

Comments
 (0)