diff options
| author | ruki <[email protected]> | 2019-08-15 23:59:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-15 17:57:26 +0800 |
| commit | 4cbb9e3045a7a491f2347ecf9f595e9e326f059b (patch) | |
| tree | 286cb4d520d684025cad54a8b6c563bc0fa0fa71 /xmake/modules/core/tools/link.lua | |
| parent | ff793aba3703a7d082b70403b0b8d52e00f5345b (diff) | |
add opt.rawargs
Diffstat (limited to 'xmake/modules/core/tools/link.lua')
| -rw-r--r-- | xmake/modules/core/tools/link.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua index dfeb362c4..9149de17e 100644 --- a/xmake/modules/core/tools/link.lua +++ b/xmake/modules/core/tools/link.lua @@ -96,6 +96,7 @@ function linkargv(self, objectfiles, targetkind, targetfile, flags, opt) local argv = table.join(flags, "-out:" .. targetfile, objectfiles) -- too long arguments for windows? + opt = opt or {} local args = os.args(argv) if #args > 1024 and not opt.rawargs then local argsfile = os.tmpfile(args) .. ".args.txt" |
