Browse Source

Fix unarchiving of zstd dep on Windows with hack.

tags/v2.6.1
Andrew Belt 5 months ago
parent
commit
cf924e57a9
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      dep/Makefile

+ 3
- 0
dep/Makefile View File

@@ -147,6 +147,9 @@ $(libcurl): | $(openssl) curl-8.10.0
zstd-1.5.6: zstd-1.5.6:
$(WGET) "https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz" $(WGET) "https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz"
$(SHA256) zstd-1.5.6.tar.gz 8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1 $(SHA256) zstd-1.5.6.tar.gz 8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1
# HACK This tar archive creates a symlink "untar" to "tar" before tar exists. This is okay on UNIX but not on Windows where symlinks are copies of files. So create a fake "tar" so the unarchiving works.
mkdir -p zstd-1.5.6/tests/cli-tests/bin
touch zstd-1.5.6/tests/cli-tests/bin/zstd
$(UNTAR) zstd-1.5.6.tar.gz $(UNTAR) zstd-1.5.6.tar.gz
rm zstd-1.5.6.tar.gz rm zstd-1.5.6.tar.gz




Loading…
Cancel
Save