summaryrefslogtreecommitdiff
path: root/xmake/rules/utils
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-01 00:45:55 +0800
committerruki <[email protected]>2023-09-01 00:45:55 +0800
commitbc32dfdb2c91fc05b368a111a89505569117ccff (patch)
treeb61390b4f5cac847fc31b0d8c895003ee0dd39ec /xmake/rules/utils
parentabc48d4f230d471ebf53051bf36f2a0ecd94077e (diff)
revert on_changed
Diffstat (limited to 'xmake/rules/utils')
-rw-r--r--xmake/rules/utils/merge_archive/xmake.lua2
-rw-r--r--xmake/rules/utils/symbols/export_all/export_all.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/utils/merge_archive/xmake.lua b/xmake/rules/utils/merge_archive/xmake.lua
index f8def1084..272b2f641 100644
--- a/xmake/rules/utils/merge_archive/xmake.lua
+++ b/xmake/rules/utils/merge_archive/xmake.lua
@@ -60,7 +60,7 @@ rule("utils.merge.archive")
if #libraryfiles > 0 then
table.insert(libraryfiles, target:targetfile())
end
- depend._on_changed(function ()
+ depend.on_changed(function ()
progress.show(opt.progress, "${color.build.target}merging.$(mode) %s", path.filename(target:targetfile()))
if #libraryfiles > 0 then
local tmpfile = os.tmpfile() .. path.extension(target:targetfile())
diff --git a/xmake/rules/utils/symbols/export_all/export_all.lua b/xmake/rules/utils/symbols/export_all/export_all.lua
index 18f3698db..14ea99211 100644
--- a/xmake/rules/utils/symbols/export_all/export_all.lua
+++ b/xmake/rules/utils/symbols/export_all/export_all.lua
@@ -38,7 +38,7 @@ function main(target, opt)
-- export all symbols
local allsymbols_filepath = path.join(target:autogendir(), "rules", "symbols", "export_all.def")
local dependfile = allsymbols_filepath .. ".d"
- depend._on_changed(function ()
+ depend.on_changed(function ()
-- trace progress info
progress.show(opt.progress, "${color.build.target}exporting.$(mode) %s", path.filename(target:targetfile()))