Make the optimizer build path optionally specified so that it points to correct location on OSX and Linux as well.

This commit is contained in:
Jukka Jylänki
2015-01-19 09:42:00 +02:00
parent b79fb12ec7
commit a9ba3a857a
2 changed files with 4 additions and 2 deletions

2
emsdk
View File

@@ -674,6 +674,8 @@ class Tool:
def expand_vars(self, str):
if WINDOWS and '%MSBuildPlatformsDir%' in str:
str = str.replace('%MSBuildPlatformsDir%', find_msbuild_dir())
if '%cmake_build_type%' in str:
str = str.replace('%cmake_build_type%', (self.cmake_build_type + '/') if WINDOWS else '')
if '%installation_dir%' in str:
str = str.replace('%installation_dir%', sdk_path(self.installation_dir()))
str = str.replace('%.exe%', '.exe' if WINDOWS else '')