fix the win32 path issue.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2244 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2012-08-01 07:33:58 +00:00
parent 27f90145b3
commit f6df9adbb2
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
win32_spawn = Win32Spawn()
win32_spawn.env = env
env['SPAWN'] = win32_spawn.spawn
if env['PLATFORM'] == 'win32':
os.environ['PATH'] = rtconfig.EXEC_PATH + ";" + os.environ['PATH']
else:
os.environ['PATH'] = rtconfig.EXEC_PATH + ":" + os.environ['PATH']