summaryrefslogtreecommitdiff
path: root/xmake/rules/python
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/python')
-rw-r--r--xmake/rules/python/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/python/xmake.lua b/xmake/rules/python/xmake.lua
index 01c6ed858..d5649638b 100644
--- a/xmake/rules/python/xmake.lua
+++ b/xmake/rules/python/xmake.lua
@@ -20,7 +20,7 @@
-- @see https://github.com/xmake-io/xmake/issues/1896
rule("python.library")
- on_load(function (target)
+ on_config(function (target)
target:set("kind", "shared")
target:set("prefixname", "")
local soabi = target:extraconf("rules", "python.library", "soabi")
@@ -40,4 +40,3 @@ rule("python.library")
end
end
end)
-