summaryrefslogtreecommitdiff
path: root/xmake/rules/utils/bin2c/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-22 12:15:22 +0800
committerruki <[email protected]>2022-05-22 12:15:44 +0800
commit489e4c01e2c4fb443c250e9ac9ec39b6bfcc129f (patch)
tree5c1404ce5d6dba180808b78ff3d3e353c65963bb /xmake/rules/utils/bin2c/xmake.lua
parent9d7ff9055927118fab28537d204d4bb331842826 (diff)
improve bin2c path
Diffstat (limited to 'xmake/rules/utils/bin2c/xmake.lua')
-rw-r--r--xmake/rules/utils/bin2c/xmake.lua2
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")