From 6c7b2af719ea55060b098af973556e5ecf2dff51 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 13 Aug 2021 10:41:54 +0800 Subject: Update extract.lua --- xmake/modules/utils/archive/extract.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua index 4e54bc4dc..d9299b799 100644 --- a/xmake/modules/utils/archive/extract.lua +++ b/xmake/modules/utils/archive/extract.lua @@ -417,7 +417,7 @@ function main(archivefile, outputdir, opt) -- init extractors local extractors - if is_host("windows") then + if is_subhost("windows") then -- we use 7z first, becase xmake package has builtin 7z program on windows -- tar/windows can not extract .bz2 ... extractors = -- cgit v1.3.1