From 4cce3e27f529af33e0e7749a8cbcec59954946b5 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 6 Mar 2022 23:36:20 +0200 Subject: 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. --- src/liblzma/common/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/liblzma/common/Makefile.inc') 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 -- cgit v1.2.3