mirror of https://git.tukaani.org/xz.git
liblzma: Fix a compilation issue when encoders are disabled.
When encoders were disabled and threading enabled, outqueue.c and outqueue.h were not compiled. The multi threaded decoder required these files, so compilation failed.
This commit is contained in:
parent
6ca5c354bd
commit
14af758a77
|
@ -22,7 +22,10 @@ liblzma_la_SOURCES += \
|
||||||
common/vli_size.c
|
common/vli_size.c
|
||||||
|
|
||||||
if COND_THREADS
|
if COND_THREADS
|
||||||
liblzma_la_SOURCES += common/hardware_cputhreads.c
|
liblzma_la_SOURCES += \
|
||||||
|
common/hardware_cputhreads.c \
|
||||||
|
common/outqueue.c \
|
||||||
|
common/outqueue.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if COND_MAIN_ENCODER
|
if COND_MAIN_ENCODER
|
||||||
|
@ -50,8 +53,6 @@ liblzma_la_SOURCES += \
|
||||||
|
|
||||||
if COND_THREADS
|
if COND_THREADS
|
||||||
liblzma_la_SOURCES += \
|
liblzma_la_SOURCES += \
|
||||||
common/outqueue.c \
|
|
||||||
common/outqueue.h \
|
|
||||||
common/stream_encoder_mt.c
|
common/stream_encoder_mt.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue