Fix zlib as well

This commit is contained in:
zhupengfei
2020-05-17 10:52:16 +08:00
parent d1ca2faf37
commit 5bfe180348
+2 -1
View File
@@ -24,8 +24,9 @@ install:
if ($env:BUILD_TYPE -eq 'mingw') {
$dependencies = "mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-qt5-static"
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S $dependencies"
# (HACK) Replace libzstd.dll.a with libzstd.a to really static link qt
# (HACK) Link these libs to really static link qt
C:\msys64\usr\bin\bash -lc "rm /mingw64/lib/libzstd.dll.a && link /mingw64/lib/libzstd.a /mingw64/lib/libzstd.dll.a"
C:\msys64\usr\bin\bash -lc "rm /mingw64/lib/libz.dll.a && link /mingw64/lib/libz.a /mingw64/lib/libz.dll.a"
# (HACK) ignore errors
0
}