From 80d10b758c80eb49fc46f1aab57c013baf278ed5 Mon Sep 17 00:00:00 2001 From: xq114 <1140735506@qq.com> Date: Mon, 5 Sep 2022 15:03:40 +0800 Subject: improve python.library for mingw --- xmake/rules/python/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/python/xmake.lua') 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") -- cgit v1.3.1