mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
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)
13 lines
264 B
Makefile
13 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)\"
|