summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-23 13:57:11 +0800
committerGitHub <[email protected]>2021-08-23 13:57:11 +0800
commit57681c84a77b6c6a0ac8f3ea474ff6c4aedebeb2 (patch)
tree95ab8128e7ea1074ca25576936ebf90c4c141e61
parenta23e911d10086413707d2a9b40d2f07637adc017 (diff)
Update package.lua
-rw-r--r--xmake/core/package/package.lua2
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