summaryrefslogtreecommitdiff
path: root/xmake/rules/utils/bin2c/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-07-18 00:07:38 +0800
committerruki <[email protected]>2026-07-18 00:07:38 +0800
commitf9093aadcf44cadc7b3ab3c155de017d21bc5e47 (patch)
tree90ca7b8d8d352281d78e2bcca6973c6215a43eeb /xmake/rules/utils/bin2c/utils.lua
parent1dee1ac4425bc1792bf79bffd329f92080580cc8 (diff)
fix bin2obj symbols
Diffstat (limited to 'xmake/rules/utils/bin2c/utils.lua')
-rw-r--r--xmake/rules/utils/bin2c/utils.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/bin2c/utils.lua b/xmake/rules/utils/bin2c/utils.lua
index b5bf7638b..8ea6ba17a 100644
--- a/xmake/rules/utils/bin2c/utils.lua
+++ b/xmake/rules/utils/bin2c/utils.lua
@@ -58,7 +58,7 @@ function generate_headerfile(target, batchcmds, binaryfile, opt)
local transform = opt.transform or (fileconfig and fileconfig.transform) or target:extraconf("rules", rulename, "transform")
if transform then
batchcmds:show_progress(progress, "${color.build.object}transforming.bin2obj %s", binaryfile)
- local transformed_file = target:autogenfile(binaryfile .. ".transformed")
+ local transformed_file = target:autogenfile(binaryfile)
batchcmds:call(transform, {binaryfile, transformed_file}, {target = target})
binaryfile = transformed_file
end