summaryrefslogtreecommitdiff
path: root/xmake/rules/python
diff options
context:
space:
mode:
authorxq114 <[email protected]>2022-09-05 15:03:40 +0800
committerxq114 <[email protected]>2022-09-05 15:03:40 +0800
commit80d10b758c80eb49fc46f1aab57c013baf278ed5 (patch)
tree2eb97d9d2bd7d999eeb1b877001707c38b275db2 /xmake/rules/python
parenta3015f45b428eb239238156da8794dec398f8c1f (diff)
improve python.library for mingw
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 da54ead22..20c30c6b5 100644
--- a/xmake/rules/python/xmake.lua
+++ b/xmake/rules/python/xmake.lua
@@ -36,7 +36,7 @@ rule("python.library")
end
end
else
- if target:is_plat("windows") then
+ if target:is_plat("windows", "mingw") then
target:set("extension", ".pyd")
else
target:set("extension", ".so")