summaryrefslogtreecommitdiff
path: root/core/src/xmake/xmake.lua
diff options
context:
space:
mode:
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"))