summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authoryux@google.com <yux@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 22:25:40 +0000
committeryux@google.com <yux@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 22:25:40 +0000
commitcf53f87dbdff51ff58123eaac27fed9e04c97f28 (patch)
treea348b54744a34d2f945c2e24bfa11b4308a7d1dd /o3d
parentb2787cf4c95b5e22162a345140a9350bcd5b675e (diff)
downloadchromium_src-cf53f87dbdff51ff58123eaac27fed9e04c97f28.zip
chromium_src-cf53f87dbdff51ff58123eaac27fed9e04c97f28.tar.gz
chromium_src-cf53f87dbdff51ff58123eaac27fed9e04c97f28.tar.bz2
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
Diffstat (limited to 'o3d')
-rw-r--r--o3d/v8/build.scons12
1 files changed, 6 insertions, 6 deletions
diff --git a/o3d/v8/build.scons b/o3d/v8/build.scons
index ccb133b..6fd51cc 100644
--- a/o3d/v8/build.scons
+++ b/o3d/v8/build.scons
@@ -93,20 +93,20 @@ if v8_env.Bit('windows'):
v8_env['ENV']['USERPROFILE'] = ""
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:
- v8_env['ENV']['INCLUDE'] += ";" + include_path
+ v8_env['ENV']['INCLUDE'] = include_path + ";" + v8_env['ENV']['INCLUDE']
except KeyError:
v8_env['ENV']['INCLUDE'] = include_path
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:
- v8_env['ENV']['LIB'] += ";" + lib_path
+ v8_env['ENV']['LIB'] = lib_path + ";" + v8_env['ENV']['LIB']
except KeyError:
v8_env['ENV']['LIB'] = lib_path