From 57681c84a77b6c6a0ac8f3ea474ff6c4aedebeb2 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 23 Aug 2021 13:57:11 +0800 Subject: Update package.lua --- xmake/core/package/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1