Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorJohan Lorensson <lateralusx.github@gmail.com>2017-07-11 16:21:04 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-07-11 16:21:04 +0300
commit665d8d414169ff90aef2768a0949e9cae47fd886 (patch)
tree367df7d9bccfa743e514dc7506d813a206b8c994 /msvc
parentce3ddc20737b2582be126fe2a57fceea600d10fc (diff)
Remove partial path for ml.exe and ml64.exe in mono VS runtime builds. (#5195)
Location of ml.exe and ml64.exe is different in VS2017 compared to VS2015. By removing the partial path from the command, the VS environment will locate the tool depending on selected build configuration and VS version. This should work for both VS2015 and VS2017.
Diffstat (limited to 'msvc')
-rw-r--r--msvc/masm.fixed.props4
1 files changed, 2 insertions, 2 deletions
diff --git a/msvc/masm.fixed.props b/msvc/masm.fixed.props
index 8088a22fba0..5c41659bb5d 100644
--- a/msvc/masm.fixed.props
+++ b/msvc/masm.fixed.props
@@ -15,8 +15,8 @@
<PackAlignmentBoundary>0</PackAlignmentBoundary>
<CallingConvention>0</CallingConvention>
<ErrorReporting>0</ErrorReporting>
- <CommandLineTemplate Condition="'$(Platform)' == 'Win32'">"$(VCInstallDir)bin\ml.exe" /c [AllOptions] [AdditionalOptions] /Ta[Inputs]</CommandLineTemplate>
- <CommandLineTemplate Condition="'$(Platform)' == 'X64'">"$(VCInstallDir)bin\amd64\ml64.exe" /c [AllOptions] [AdditionalOptions] /Ta[Inputs]</CommandLineTemplate>
+ <CommandLineTemplate Condition="'$(Platform)' == 'Win32'">"ml.exe" /c [AllOptions] [AdditionalOptions] /Ta[Inputs]</CommandLineTemplate>
+ <CommandLineTemplate Condition="'$(Platform)' == 'X64'">"ml64.exe" /c [AllOptions] [AdditionalOptions] /Ta[Inputs]</CommandLineTemplate>
<CommandLineTemplate Condition="'$(Platform)' != 'Win32' and '$(Platform)' != 'X64'">echo MASM not supported on this platform</CommandLineTemplate>
<ExecutionDescription>Assembling %(Identity)...</ExecutionDescription>
</MASM>