summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-06-14 22:21:35 +0200
committerJose <jose@zeroc.com>2017-06-14 22:21:35 +0200
commita12dbc1da1e2c4014fe7eeddae4224e6a1cfbbf7 (patch)
tree521ddf8076f2f387500c3334c045a1fd3594a883 /scripts/Util.py
parentAllow to run PHP test with ICE_BIN_DIST=cpp on Windows (diff)
downloadice-a12dbc1da1e2c4014fe7eeddae4224e6a1cfbbf7.tar.bz2
ice-a12dbc1da1e2c4014fe7eeddae4224e6a1cfbbf7.tar.xz
ice-a12dbc1da1e2c4014fe7eeddae4224e6a1cfbbf7.zip
Set default Platform to x64 if PLATFORM is set to X64 on Windows
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index dd1e1105cbf..29df5aee092 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -254,7 +254,7 @@ class Windows(Platform):
pass # Nothing to do, we don't support the make build system on Windows
def getDefaultBuildPlatform(self):
- return "Win32"
+ return "x64" if "X64" in os.environ.get("PLATFORM", "") else "Win32"
def getDefaultBuildConfig(self):
return "Release"