Skip to content

Commit

Permalink
Get tag 4.5 of plougher/squashfs-tools
Browse files Browse the repository at this point in the history
This prevents some of the multiple definition errors mentioned in #1084
when built on an Ubuntu greater than Jammy, or with a gcc >= 10
  • Loading branch information
andy5995 committed Sep 27, 2024
1 parent e8dadbb commit de43a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if(NOT USE_SYSTEM_MKSQUASHFS)

ExternalProject_Add(mksquashfs
GIT_REPOSITORY https://github.com/plougher/squashfs-tools/
GIT_TAG 4.4
GIT_TAG 4.5
UPDATE_COMMAND "" # Make sure CMake won't try to fetch updates unnecessarily and hence rebuild the dependency every time
CONFIGURE_COMMAND ${SED} -i "s|CFLAGS += -DXZ_SUPPORT|CFLAGS += ${mksquashfs_cflags}|g" <SOURCE_DIR>/squashfs-tools/Makefile
COMMAND ${SED} -i "s|LIBS += -llzma|LIBS += -Bstatic ${mksquashfs_ldflags}|g" <SOURCE_DIR>/squashfs-tools/Makefile
Expand Down

0 comments on commit de43a44

Please sign in to comment.