summaryrefslogtreecommitdiff
path: root/xmake/rules/python
diff options
context:
space:
mode:
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")