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/rules/utils/bin2c/xmake.lua | |
| parent | 9d7ff9055927118fab28537d204d4bb331842826 (diff) | |
improve bin2c path
Diffstat (limited to 'xmake/rules/utils/bin2c/xmake.lua')
| -rw-r--r-- | xmake/rules/utils/bin2c/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/bin2c/xmake.lua b/xmake/rules/utils/bin2c/xmake.lua index 77f81125c..3e5e9144d 100644 --- a/xmake/rules/utils/bin2c/xmake.lua +++ b/xmake/rules/utils/bin2c/xmake.lua @@ -37,7 +37,7 @@ rule("utils.bin2c") -- add commands batchcmds:show_progress(opt.progress, "${color.build.object}generating.bin2c %s", sourcefile_bin) batchcmds:mkdir(headerdir) - local argv = {"lua", "private.utils.bin2c", "-i", sourcefile_bin, "-o", headerfile} + local argv = {"lua", "private.utils.bin2c", "-i", path(sourcefile_bin), "-o", path(headerfile)} local linewidth = target:extraconf("rules", "utils.bin2c", "linewidth") if linewidth then table.insert(argv, "-w") |
