summaryrefslogtreecommitdiff
path: root/xmake/rules/utils
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-14 00:47:07 +0800
committerruki <[email protected]>2021-09-14 00:47:07 +0800
commit3abbb1c004c0c56bf34c9155098e1844e0483581 (patch)
treea8a19e4b771eb4fff452f43e794b5c7218eea8b5 /xmake/rules/utils
parent8c8030ba48cda0c12ed7934b6dd4ffff5b191a33 (diff)
remove before_load
Diffstat (limited to 'xmake/rules/utils')
-rw-r--r--xmake/rules/utils/symbols/export_all/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/symbols/export_all/xmake.lua b/xmake/rules/utils/symbols/export_all/xmake.lua
index f804e3c3e..b808d63a9 100644
--- a/xmake/rules/utils/symbols/export_all/xmake.lua
+++ b/xmake/rules/utils/symbols/export_all/xmake.lua
@@ -26,7 +26,7 @@
-- @see https://github.com/xmake-io/xmake/issues/1123
--
rule("utils.symbols.export_all")
- before_load(function (target)
+ on_load(function (target)
-- @note it only supports windows/dll now
assert(target:is_shared(), 'rule("utils.symbols.export_all"): only for shared target(%s)!', target:name())
if target:is_plat("windows") then