Build fixes, crashfix on fail-to-open

This commit is contained in:
Henrik Rydgård
2026-03-27 13:19:51 -06:00
parent 288b72cb16
commit 99d5bcc26d
6 changed files with 142 additions and 12 deletions
+9 -8
View File
@@ -658,6 +658,14 @@ add_library(Common STATIC
${CommonLOONGARCH64}
${CommonD3D}
${CommonVR}
ext/lzma-sdk/7zArcIn.c # TODO: Move.
ext/lzma-sdk/7zBuf.c
ext/lzma-sdk/7zCrc.c
ext/lzma-sdk/7zDec.c
ext/lzma-sdk/7zFile.c
ext/lzma-sdk/7zStream.c
ext/lzma-sdk/Bcj2.c
ext/lzma-sdk/Lzma2Dec.c
Common/Serialize/Serializer.cpp
Common/Serialize/Serializer.h
Common/Serialize/SerializeDeque.h
@@ -726,14 +734,6 @@ add_library(Common STATIC
Common/File/VFS/SevenZipFileReader.h
Common/File/VFS/DirectoryReader.cpp
Common/File/VFS/DirectoryReader.h
ext/lzma-sdk/7zArcIn.c
ext/lzma-sdk/7zBuf.c
ext/lzma-sdk/7zCrc.c
ext/lzma-sdk/7zDec.c
ext/lzma-sdk/7zFile.c
ext/lzma-sdk/7zStream.c
ext/lzma-sdk/Bcj2.c
ext/lzma-sdk/Lzma2Dec.c
Common/File/AndroidStorage.h
Common/File/AndroidStorage.cpp
Common/File/AndroidContentURI.h
@@ -977,6 +977,7 @@ endif()
if(ARM64)
if(ANDROID)
target_link_libraries(Common adrenotools)
target_compile_definitions(Common PRIVATE Z7_CRC_NUM_TABLES=1)
endif()
endif()