aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/Makefile.inc
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-09 14:17:23 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-09 14:17:23 +0200
commit633d48a075b9ce4b9c08a7a56a7eb4cabc18100c (patch)
tree7ad9f2cb9c92dba5784cd7283b3fe27c1d676f91 /src/liblzma/common/Makefile.inc
parentxz: Add comments about stdin and src_st.st_size. (diff)
downloadxz-633d48a075b9ce4b9c08a7a56a7eb4cabc18100c.tar.xz
liblzma: Add the missing Makefile.inc change for --disable-microlzma.
This was forgotten from commit 59c4d6e1390f6f4176f43ac1dad1f7ac03c449b8.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/Makefile.inc12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/liblzma/common/Makefile.inc b/src/liblzma/common/Makefile.inc
index 78bc95bb..5efa13a0 100644
--- a/src/liblzma/common/Makefile.inc
+++ b/src/liblzma/common/Makefile.inc
@@ -39,7 +39,6 @@ liblzma_la_SOURCES += \
common/easy_buffer_encoder.c \
common/easy_encoder.c \
common/easy_encoder_memusage.c \
- common/microlzma_encoder.c \
common/filter_buffer_encoder.c \
common/filter_encoder.c \
common/filter_encoder.h \
@@ -55,6 +54,11 @@ if COND_THREADS
liblzma_la_SOURCES += \
common/stream_encoder_mt.c
endif
+
+if COND_MICROLZMA
+liblzma_la_SOURCES += \
+ common/microlzma_encoder.c
+endif
endif
if COND_MAIN_DECODER
@@ -67,7 +71,6 @@ liblzma_la_SOURCES += \
common/block_decoder.h \
common/block_header_decoder.c \
common/easy_decoder_memusage.c \
- common/microlzma_decoder.c \
common/file_info.c \
common/filter_buffer_decoder.c \
common/filter_decoder.c \
@@ -86,4 +89,9 @@ if COND_THREADS
liblzma_la_SOURCES += \
common/stream_decoder_mt.c
endif
+
+if COND_MICROLZMA
+liblzma_la_SOURCES += \
+ common/microlzma_decoder.c
+endif
endif