Build libzip statically

This commit is contained in:
Lion Kortlepel
2021-10-01 02:31:48 +02:00
parent 87ecc3f9f6
commit 26ec50b199
2 changed files with 3 additions and 6 deletions

View File

@@ -30,11 +30,8 @@ endif()
set(SENTRY_BACKEND breakpad)
add_subdirectory("deps/sentry-native")
find_package(libzip)
if (NOT LIBZIP_FOUND)
set(BUILD_SHARED_LIBS OFF)
add_subdirectory("deps/libzip")
endif()
set(BUILD_SHARED_LIBS OFF)
add_subdirectory("deps/libzip")
message(STATUS "Setting compiler flags")
if (WIN32)

View File

@@ -732,7 +732,7 @@ void TNetwork::SplitLoad(TClient& c, size_t Sent, size_t Size, bool D, const std
TCPSock = c.GetDownSock();
else
TCPSock = c.GetTCPSock();
beammp_info("Split load Socket " + std::to_string(TCPSock));
beammp_debug("Split load Socket " + std::to_string(TCPSock));
while (c.GetStatus() > -1 && Sent < Size) {
size_t Diff = Size - Sent;
if (Diff > Split) {