diff --git a/emsdk b/emsdk index faa5747..553ad69 100755 --- a/emsdk +++ b/emsdk @@ -1316,7 +1316,7 @@ class Tool: success = build_fastcomp_tool(self) elif hasattr(self, 'git_branch'): success = git_clone_checkout_and_pull(url, self.installation_path(), self.git_branch) - elif url.endswith('zip') or url.endswith('.tar') or url.endswith('.gz'): + elif url.endswith('zip') or url.endswith('.tar') or url.endswith('.gz') or url.endswith('.xz'): download_even_if_exists = (self.id == 'vs-tool') success = download_and_unzip(url, self.installation_path(), download_even_if_exists, filename_prefix=self.zipfile_prefix if hasattr(self, 'zipfile_prefix') else '') else: