aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-01-05 17:15:37 +0000
committerroot <root@logopolis.(none)>2010-03-15 01:14:33 +0000
commitabaa4ad385e54bd587c8eed935e2a1993338d94e (patch)
treee2f6c1d49564670e1ba1cbf1c0ad366ef2c050a8
parent5c1d88d3302206703efaa9743d92bbc1fe28e444 (diff)
downloadsquashfs-lzma-abaa4ad385e54bd587c8eed935e2a1993338d94e.tar.gz
libs: force lzma_wrapper to be retained
When CONFIG_SQUASHFS=m and CONFIG_DECOMPRESS_LZMA=m, decompress_lzma is built but then discarded from the library because no built-in code uses it, so change it from a lib- to an obj- to force it to be kept in the library. ERROR: "unlzma" [fs/squashfs/squashfs.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Phillip Lougher <phillip@lougher.demon.co.uk> Cc: Michal Marek <mmarek@suse.cz>
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3b0b4a696db95..94a5f4c0e2be9 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -68,7 +68,7 @@ obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
lib-$(CONFIG_DECOMPRESS_GZIP) += decompress_inflate.o
lib-$(CONFIG_DECOMPRESS_BZIP2) += decompress_bunzip2.o
-lib-$(CONFIG_DECOMPRESS_LZMA) += decompress_unlzma.o
+obj-$(CONFIG_DECOMPRESS_LZMA) += decompress_unlzma.o
lib-$(CONFIG_DECOMPRESS_LZO) += decompress_unlzo.o
obj-$(CONFIG_TEXTSEARCH) += textsearch.o