aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/Makefile.inc
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-03-06 23:36:20 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-03-07 00:35:53 +0200
commit4cce3e27f529af33e0e7749a8cbcec59954946b5 (patch)
treef1872d8482a73f92978b92d1c0a71633e5cd19f5 /src/liblzma/common/Makefile.inc
parentliblzma: Fix docs: lzma_block_decoder() cannot return LZMA_UNSUPPORTED_CHECK. (diff)
downloadxz-4cce3e27f529af33e0e7749a8cbcec59954946b5.tar.xz
liblzma: Add threaded .xz decompressor.
I realize that this is about a decade late. Big thanks to Sebastian Andrzej Siewior for the original patch. I made a bunch of smaller changes but after a while quite a few things got rewritten. So any bugs in the commit were created by me.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/liblzma/common/Makefile.inc b/src/liblzma/common/Makefile.inc
index 1a4fb126..8f0d84ec 100644
--- a/src/liblzma/common/Makefile.inc
+++ b/src/liblzma/common/Makefile.inc
@@ -80,4 +80,9 @@ liblzma_la_SOURCES += \
common/stream_decoder.h \
common/stream_flags_decoder.c \
common/vli_decoder.c
+
+if COND_THREADS
+liblzma_la_SOURCES += \
+ common/stream_decoder_mt.c
+endif
endif