0

Fixing v8 build when include or lib are set.

Review URL: http://codereview.chromium.org/125016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18216 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
yux@google.com
2009-06-11 22:25:40 +00:00
parent b2787cf4c9
commit cf53f87dbd

@@ -93,20 +93,20 @@ if v8_env.Bit('windows'):
v8_env['ENV']['USERPROFILE'] = "" v8_env['ENV']['USERPROFILE'] = ""
include_path = ";".join( include_path = ";".join(
[v8_env.subst("$INCLUDE"), [v8_env.subst("$PLATFORM_SDK_VISTA_6_0_DIR/Include"),
v8_env.subst("$PLATFORM_SDK_VISTA_6_0_DIR/Include")]) v8_env.subst("$INCLUDE")])
try: try:
v8_env['ENV']['INCLUDE'] += ";" + include_path v8_env['ENV']['INCLUDE'] = include_path + ";" + v8_env['ENV']['INCLUDE']
except KeyError: except KeyError:
v8_env['ENV']['INCLUDE'] = include_path v8_env['ENV']['INCLUDE'] = include_path
lib_path = ";".join( lib_path = ";".join(
[v8_env.subst("$LIB"), [v8_env.subst("$PLATFORM_SDK_VISTA_6_0_DIR/Lib"),
v8_env.subst("$PLATFORM_SDK_VISTA_6_0_DIR/Lib")]) v8_env.subst("$LIB")])
try: try:
v8_env['ENV']['LIB'] += ";" + lib_path v8_env['ENV']['LIB'] = lib_path + ";" + v8_env['ENV']['LIB']
except KeyError: except KeyError:
v8_env['ENV']['LIB'] = lib_path v8_env['ENV']['LIB'] = lib_path