summaryrefslogtreecommitdiff
path: root/recipes/squashfs-tools/files/squashfs2.0-tools-lzma.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squashfs-tools/files/squashfs2.0-tools-lzma.patch')
-rw-r--r--recipes/squashfs-tools/files/squashfs2.0-tools-lzma.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/squashfs-tools/files/squashfs2.0-tools-lzma.patch b/recipes/squashfs-tools/files/squashfs2.0-tools-lzma.patch
new file mode 100644
index 0000000000..91beaad1dc
--- /dev/null
+++ b/recipes/squashfs-tools/files/squashfs2.0-tools-lzma.patch
@@ -0,0 +1,12 @@
+--- squashfs-tools/Makefile.orig 2005-06-12 21:41:47.000000000 +0200
++++ squashfs-tools/Makefile 2005-06-12 21:42:08.000000000 +0200
+@@ -10,6 +10,9 @@
+ mksquashfs: mksquashfs.o read_fs.o sort.o
+ $(CCLD) $(LDFLAGS_R) $(LDFLAGS) mksquashfs.o read_fs.o sort.o $(LIBS) -o $@
+
++mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
++ $(CXX) $(LDFLAGS) mksquashfs.o read_fs.o sort.o -llzma -o $@
++
+ mksquashfs.o: mksquashfs.c mksquashfs.h
+ $(CC) $(CFLAGS_R) $(CFLAGS) -c -o mksquashfs.o mksquashfs.c
+