summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 180ce1eab7a..e12ae96d6a6 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -88,7 +88,15 @@ def configurePaths():
addenv("CLASSPATH", "classes")
return # That's it, we're done!
- binDir = os.path.join(getIceDir("cpp"), "bin")
+ binDir = os.path.join(getIceDir("cpp"), "bin")
+
+ if isWin32() and iceHome:
+ compiler = ""
+ if os.environ.get("CPP_COMPILER", "") != "":
+ compiler = os.environ["CPP_COMPILER"]
+ if compiler == "BCC2010":
+ binDir = binDir + "\\bcc10;" + binDir
+
shlibVar = None
libDir = None
if not isWin32():