mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
configure.ac: check if lzma has MT support, fix deb build/etc.
This commit is contained in:
parent
960e9c560e
commit
5a082ad15a
2 changed files with 4 additions and 0 deletions
|
@ -175,6 +175,8 @@ AC_SUBST(HAVE_SODIUM, [$have_sodium])
|
|||
|
||||
# Look for liblzma, a required dependency.
|
||||
PKG_CHECK_MODULES([LIBLZMA], [liblzma], [CXXFLAGS="$LIBLZMA_CFLAGS $CXXFLAGS"])
|
||||
AC_CHECK_LIB([lzma], [lzma_stream_encoder_mt],
|
||||
[AC_DEFINE([HAVE_LZMA_MT], [1], [xz multithreaded compression support])])
|
||||
|
||||
|
||||
# Look for libbrotli{enc,dec}, optional dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue