summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-13 10:41:54 +0800
committerGitHub <[email protected]>2021-08-13 10:41:54 +0800
commit6c7b2af719ea55060b098af973556e5ecf2dff51 (patch)
treec232cf827c36e8a7411eba287158a8fdb666eb1f
parent0a9aebf55fac34c1965fd69da212a798ed04769a (diff)
Update extract.lua
-rw-r--r--xmake/modules/utils/archive/extract.lua2
1 files changed, 1 insertions, 1 deletions
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 =