summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3d0bbac7ed..c7ec5556b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -417,7 +417,8 @@ set_up_tarballs() {
rm -rf inplace/mingw
local base_dir="../ghc-tarballs/${tarball_dest_dir}"
( cd inplace &&
- find "${base_dir}" -name "*.tar.xz" -exec tar xfJ {} \; &&
+ find "${base_dir}" -name "*.tar.xz" -exec tar --xz -xf {} \; &&
+ find "${base_dir}" -name "*.tar.zst" -exec tar --zstd -xf {} \; &&
rm ".MTREE" &&
rm ".PKGINFO" &&
cd .. ) || AC_MSG_ERROR([Could not extract Windows toolchains.])