diff options
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index a2b4163e5..c032d9d83 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -468,7 +468,7 @@ end -- is cross-compilation? function _instance:is_cross() - if self:is_plat("windows") and os.host() == "windows" then + if self:is_plat("windows", "mingw") and os.host() == "windows" then -- always false on windows host return false end |
