diff options
| author | ruki <[email protected]> | 2022-05-22 12:15:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-22 12:15:44 +0800 |
| commit | 489e4c01e2c4fb443c250e9ac9ec39b6bfcc129f (patch) | |
| tree | 5c1404ce5d6dba180808b78ff3d3e353c65963bb /xmake/modules/private/utils/batchcmds.lua | |
| parent | 9d7ff9055927118fab28537d204d4bb331842826 (diff) | |
improve bin2c path
Diffstat (limited to 'xmake/modules/private/utils/batchcmds.lua')
| -rw-r--r-- | xmake/modules/private/utils/batchcmds.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/utils/batchcmds.lua b/xmake/modules/private/utils/batchcmds.lua index 8a31f7afd..10b037f4e 100644 --- a/xmake/modules/private/utils/batchcmds.lua +++ b/xmake/modules/private/utils/batchcmds.lua @@ -222,7 +222,7 @@ function batchcmds:compile(sourcefiles, objectfile, opt) opt = opt or {} opt.target = self._TARGET - -- wrap path for sourcefiles + -- wrap path for sourcefiles, because we need translate path for project generator if type(sourcefiles) == "table" then local sourcefiles_wrap = {} for _, sourcefile in ipairs(sourcefiles) do @@ -254,7 +254,7 @@ function batchcmds:link(objectfiles, targetfile, opt) opt = opt or {} opt.target = target - -- wrap path for objectfiles + -- wrap path for objectfiles, because we need translate path for project generator local objectfiles_wrap = {} for _, objectfile in ipairs(objectfiles) do table.insert(objectfiles_wrap, path(objectfile)) |
