summaryrefslogtreecommitdiff
path: root/lib/lz4/README
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-07-26 15:05:01 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-08-04 19:27:42 +0200
commit959fde579e07836b73438e86cd58ba04657014f6 (patch)
treec5cfe0c45dfb654b391e2033d30892c2397987f7 /lib/lz4/README
parentc96d8571e847b8cd79ef8e7ec1b6e13a1938574b (diff)
Cleanup: move zlib/lz4 code from lib/sqfs/comp/ to lib/
The source code of a modified liblz4 and zlib are included with the option to compile them into libsquashfs if they are not available on the system. So far, the source code was included directly in the compressor sub directory within libsqsuashfs. This commit moves the libraries out into the lib directory. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/lz4/README')
-rw-r--r--lib/lz4/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/lz4/README b/lib/lz4/README
new file mode 100644
index 0000000..4c15347
--- /dev/null
+++ b/lib/lz4/README
@@ -0,0 +1,12 @@
+This source has been extracted from the lz4 release tarball, version 1.9.2
+released on August 20th, 2019.
+
+The source code originates from the "lib" subdirectory. The license is included
+in the subdirectory licenses/LZ4.txt in the tools-ng subdirectory of the
+squashfs-tools-ng source package.
+
+The following modifications have been made:
+ - Always define LZ4LIB_API and LZ4LIB_STATIC_API to set default visibility to
+ hidden, so the LZ4 functions aren't exported from libsquashfs.
+ - Remove the streaming functions and most of the functions that aren't used
+ by libsquashfs.