libtorrent: enable paralell building

On 16-core machine build speeds up from 81s to 16s (~5x).
This commit is contained in:
Sergei Trofimovich 2021-10-20 09:06:28 +01:00
parent 79bbe7b847
commit 9e510d0ab1

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ cppunit openssl libsigcxx zlib ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/rakshasa/libtorrent";
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";