diff options
| author | xq114 <[email protected]> | 2022-09-05 15:03:40 +0800 |
|---|---|---|
| committer | xq114 <[email protected]> | 2022-09-05 15:03:40 +0800 |
| commit | 80d10b758c80eb49fc46f1aab57c013baf278ed5 (patch) | |
| tree | 2eb97d9d2bd7d999eeb1b877001707c38b275db2 /xmake/rules/python/xmake.lua | |
| parent | a3015f45b428eb239238156da8794dec398f8c1f (diff) | |
improve python.library for mingw
Diffstat (limited to 'xmake/rules/python/xmake.lua')
| -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 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") |
