fetch Zlib from nuget
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -40,6 +40,7 @@ thirdparty/windows/SDL2.dll
|
|||||||
thirdparty/Mono.Nat.dll
|
thirdparty/Mono.Nat.dll
|
||||||
thirdparty/nuget.exe
|
thirdparty/nuget.exe
|
||||||
thirdparty/windows/lua51.dll
|
thirdparty/windows/lua51.dll
|
||||||
|
thirdparty/windows/zlib1.dll
|
||||||
|
|
||||||
# backup files by various editors
|
# backup files by various editors
|
||||||
*~
|
*~
|
||||||
|
|||||||
7
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
7
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
@@ -24,3 +24,10 @@ if [ ! -f windows/lua51.dll ]; then
|
|||||||
rm -rf lua51.redist.5.1.5
|
rm -rf lua51.redist.5.1.5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f windows/zlib1.dll ]; then
|
||||||
|
echo "Fetching ZLib from nuget"
|
||||||
|
nuget install zlib.redist -Version 1.2.8.7
|
||||||
|
cp ./zlib.redist.1.2.8.7/build/native/bin/v120/Win32/Release/dynamic/stdcall/zlib.dll windows/zlib1.dll
|
||||||
|
rm -rf zlib.redist.1.2.8.7
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
8
thirdparty/fetch-thirdparty-deps.ps1
vendored
8
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -79,3 +79,11 @@ if (!(Test-Path "windows/lua51.dll"))
|
|||||||
cp lua51.redist.5.1.5/build/native/bin/Win32/v120/Release/lua5.1.dll ./windows/lua51.dll
|
cp lua51.redist.5.1.5/build/native/bin/Win32/v120/Release/lua5.1.dll ./windows/lua51.dll
|
||||||
rmdir lua51.redist.5.1.5 -Recurse
|
rmdir lua51.redist.5.1.5 -Recurse
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(Test-Path "windows/zlib1.dll"))
|
||||||
|
{
|
||||||
|
echo "Fetching ZLib from NuGet."
|
||||||
|
./nuget.exe install zlib.redist -Version 1.2.8.7
|
||||||
|
cp zlib.redist.1.2.8.7/build/native/bin/v120/Win32/Release/dynamic/stdcall/zlib.dll windows/zlib1.dll
|
||||||
|
rmdir zlib.redist.1.2.8.7 -Recurse
|
||||||
|
}
|
||||||
|
|||||||
BIN
thirdparty/windows/zlib1.dll
vendored
BIN
thirdparty/windows/zlib1.dll
vendored
Binary file not shown.
Reference in New Issue
Block a user