This commit is contained in:
Veloman Yunkan
2020-04-07 00:46:23 +04:00
parent a2aac46da9
commit 25d9e18e3d
4 changed files with 27 additions and 0 deletions

4
appveyor/apply_patch.sh Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
mydir=$(dirname "$0")
patch -p1 < "$mydir"/../kiwixbuild/patches/"$1"

View File

@ -2,6 +2,8 @@ REM ========================================================
REM Install zstd
curl -fsSL -o zstd-v1.4.4.zip https://github.com/facebook/zstd/archive/v1.4.4.zip || exit /b 1
7z x zstd-v1.4.4.zip || exit /b 1
REM Fixing https://github.com/facebook/zstd/issues/2073
%MINGW64_RUN% "cd /c/projects/kiwix-build/zstd-1.4.4 && ../appveyor/apply_patch.sh zstd_meson.patch" || exit /b 1
cd zstd-1.4.4/build/meson
meson . builddir --prefix %EXTRA_DIR% --default-library static --buildtype release -Dbin_programs=false -Dbin_contrib=false || exit /b 1
cd builddir