diff options
Diffstat (limited to 'xmake/scripts/platform/windows/tools/ml.lua')
| -rw-r--r-- | xmake/scripts/platform/windows/tools/ml.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/windows/tools/ml.lua b/xmake/scripts/platform/windows/tools/ml.lua index c2ea9b9ab..5a6034320 100644 --- a/xmake/scripts/platform/windows/tools/ml.lua +++ b/xmake/scripts/platform/windows/tools/ml.lua @@ -33,7 +33,7 @@ local platform = require("platform/platform") function ml.init(self, name) -- save name - self._NAME = name or "ml.exe" + self.name = name or "ml.exe" -- init asflags self.asflags = { "-nologo", "-Gd", "-MP4", "-D_MBCS", "-D_CRT_SECURE_NO_WARNINGS"} @@ -84,7 +84,7 @@ function ml.command_compile(self, srcfile, objfile, flags, logfile) if logfile then redirect = string.format(" > %s 2>&1", logfile) end -- make it - return string.format("%s -c %s -Fo%s %s%s", self._NAME, flags, objfile, srcfile, redirect) + return string.format("%s -c %s -Fo%s %s%s", self.name, flags, objfile, srcfile, redirect) end -- make the define flag |
