aboutsummaryrefslogtreecommitdiff
path: root/util/buildbot/buildwin64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/buildbot/buildwin64.sh')
-rwxr-xr-xutil/buildbot/buildwin64.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh
index 0e09f010f..c6cb80cda 100755
--- a/util/buildbot/buildwin64.sh
+++ b/util/buildbot/buildwin64.sh
@@ -40,6 +40,7 @@ sqlite3_version=3.35.5
luajit_version=2.1.0-beta3
leveldb_version=1.23
zlib_version=1.2.11
+zstd_version=1.4.9
mkdir -p $libdir
@@ -66,6 +67,7 @@ download () {
cd $libdir
download "https://github.com/minetest/irrlicht/releases/download/$irrlicht_version/win64.zip" irrlicht-$irrlicht_version.zip
download "http://minetest.kitsunemimi.pw/zlib-$zlib_version-win64.zip"
+download "http://minetest.kitsunemimi.pw/zstd-$zstd_version-win64.zip"
download "http://minetest.kitsunemimi.pw/libogg-$ogg_version-win64.zip"
download "http://minetest.kitsunemimi.pw/libvorbis-$vorbis_version-win64.zip"
download "http://minetest.kitsunemimi.pw/curl-$curl_version-win64.zip"
@@ -120,6 +122,10 @@ cmake -S $sourcedir -B . \
-DZLIB_LIBRARIES=$libdir/zlib/lib/libz.dll.a \
-DZLIB_DLL=$libdir/zlib/bin/zlib1.dll \
\
+ -DZSTD_INCLUDE_DIR=$libdir/zstd/include \
+ -DZSTD_LIBRARY=$libdir/zstd/lib/libzstd.dll.a \
+ -DZSTD_DLL=$libdir/zstd/bin/libzstd.dll \
+ \
-DLUA_INCLUDE_DIR=$libdir/luajit/include \
-DLUA_LIBRARY=$libdir/luajit/libluajit.a \
\