summaryrefslogtreecommitdiff
path: root/core/src/xmake/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-15 13:41:50 +0800
committerGitHub <[email protected]>2025-12-15 13:41:50 +0800
commitfb06feeb88ecd2512a4a737d7e543b88892ad783 (patch)
tree02dcca161c9389b28ef04d3b0af4967b4530377d /core/src/xmake/xmake.lua
parent777fdde191dc443aba4b987c07247446e10bb5d9 (diff)
parent1243c8ca1a3edbbdc5d4669f6be199bd3f20e0e8 (diff)
Merge pull request #7125 from xmake-io/cosmocc
fix cosmocc ci
Diffstat (limited to 'core/src/xmake/xmake.lua')
-rw-r--r--core/src/xmake/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/xmake.lua b/core/src/xmake/xmake.lua
index 0883d071b..90f761b30 100644
--- a/core/src/xmake/xmake.lua
+++ b/core/src/xmake/xmake.lua
@@ -61,11 +61,11 @@ target("xmake")
end
-- embed all script files
- add_rules("utils.bin2c", {linewidth = 16, extensions = ".xmz"})
+ add_rules("utils.bin2obj", {extensions = ".xmz"})
on_config(function (target)
import("utils.archive.archive")
if has_config("embed") then
- local archivefile = path.join(target:autogendir(), "bin2c", "xmake.xmz")
+ local archivefile = path.join(target:autogendir(), "bin2obj", "xmake.xmz")
print("archiving %s ..", archivefile)
os.tryrm(archivefile)
local rootdir = path.normalize(path.join(os.projectdir(), "..", "xmake"))