libtorrent: fix cross-compilation

The configure script for libtorrent will attempt to compile and run a
small program during the build, which won't work when we are building
with a compiler that produces a program that won't run natively on the
build platform.
This commit is contained in:
Jared Baur 2024-11-16 09:59:11 -08:00
parent 2b669d9ae5
commit 3fa636bc15
No known key found for this signature in database

View File

@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
zlib
];
configureFlags = [ "--enable-aligned=yes" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
enableParallelBuilding = true;