summaryrefslogtreecommitdiff
path: root/xmake/rules/python
diff options
context:
space:
mode:
authorruki <[email protected]>2022-03-20 22:13:08 +0800
committerruki <[email protected]>2022-03-20 22:13:08 +0800
commit91d11eb00c42019f98ddf85821bab7f05dd6c62e (patch)
treeaaec8c9bec734a68a4ddc8ba17e43601a4e01715 /xmake/rules/python
parent9e37fafc56c2a8bba0f252365840718121c0856a (diff)
fix pybind module prefix name
Diffstat (limited to 'xmake/rules/python')
-rw-r--r--xmake/rules/python/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/python/xmake.lua b/xmake/rules/python/xmake.lua
index 823495485..01c6ed858 100644
--- a/xmake/rules/python/xmake.lua
+++ b/xmake/rules/python/xmake.lua
@@ -22,7 +22,7 @@
rule("python.library")
on_load(function (target)
target:set("kind", "shared")
- target:set("prefixname", "_")
+ target:set("prefixname", "")
local soabi = target:extraconf("rules", "python.library", "soabi")
if soabi then
import("lib.detect.find_tool")