From 91d11eb00c42019f98ddf85821bab7f05dd6c62e Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 20 Mar 2022 22:13:08 +0800 Subject: fix pybind module prefix name --- xmake/rules/python/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/python') 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") -- cgit v1.3.1