1
0

100-lzma.patch 719 B

12345678910111213141516171819202122
  1. --- a/squashfs-tools/Makefile
  2. +++ b/squashfs-tools/Makefile
  3. @@ -7,6 +7,9 @@ all: mksquashfs unsquashfs
  4. mksquashfs: mksquashfs.o read_fs.o sort.o
  5. $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
  6. +mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
  7. + $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma-old -o $@
  8. +
  9. mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
  10. read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h
  11. @@ -16,4 +19,9 @@ sort.o: sort.c squashfs_fs.h global.h so
  12. unsquashfs: unsquashfs.o
  13. $(CC) unsquashfs.o -lz -o $@
  14. +unsquashfs-lzma: unsquashfs.o
  15. + $(CXX) unsquashfs.o -L$(LZMAPATH) -llzma-old -o $@
  16. +
  17. unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h
  18. +
  19. +clean: