diff options
| author | ruki <[email protected]> | 2022-03-20 22:13:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-20 22:13:08 +0800 |
| commit | 91d11eb00c42019f98ddf85821bab7f05dd6c62e (patch) | |
| tree | aaec8c9bec734a68a4ddc8ba17e43601a4e01715 /xmake/rules/python | |
| parent | 9e37fafc56c2a8bba0f252365840718121c0856a (diff) | |
fix pybind module prefix name
Diffstat (limited to 'xmake/rules/python')
| -rw-r--r-- | xmake/rules/python/xmake.lua | 2 |
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") |
