summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-10 00:34:57 +0800
committerruki <[email protected]>2023-01-10 00:34:57 +0800
commitba6b41079e3f67a8182d725a8bfe07514752ad70 (patch)
tree68f2594b4e46400338a914fdd82d3a2e4496c203
parentf7b608aa64f4af3e26a1d48673e5f45e00fe4170 (diff)
improve export all rule #3267
-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 b808d63a9..b64f41bf4 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")
- on_load(function (target)
+ on_config(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