summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 3809345e684..ef91502b99e 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -229,7 +229,10 @@ class Windows(Platform):
return "lib"
def getBuildSubDir(self, name, current):
- return os.path.join("msbuild", name, current.config.buildPlatform, current.config.buildConfig)
+ if os.path.exists(os.path.join(current.testcase.getPath(), "msbuild", name)):
+ return os.path.join("msbuild", name, current.config.buildPlatform, current.config.buildConfig)
+ else:
+ return os.path.join("msbuild", current.config.buildPlatform, current.config.buildConfig)
def getLdPathEnvName(self):
return "PATH"