forked from lix-project/lix
9dd2b8ac7b
* Look for both 'brotli' and 'bro' as external command, since upstream has renamed it in newer versions. If neither are found, current runtime behavior is preserved: try to find 'bro' on PATH. * Limit amount handed to BrotliEncoderCompressStream to ensure interrupts are processed in a timely manner. Testing shows negligible performance impact. (Other compression sinks don't seem to require this)
14 lines
264 B
Makefile
14 lines
264 B
Makefile
libraries += libutil
|
|
|
|
libutil_NAME = libnixutil
|
|
|
|
libutil_DIR := $(d)
|
|
|
|
libutil_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS)
|
|
|
|
libutil_LIBS = libformat
|
|
|
|
libutil_CXXFLAGS = -DBROTLI=\"$(brotli)\"
|