libtorrent: fix cross-compilation (#356537)
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
# Note: this is rakshasa's version of libtorrent, used mainly by rtorrent.
|
||||
# *Do not* mistake it by libtorrent-rasterbar, used by Deluge, qbitttorent etc.
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoconf-archive
|
||||
, autoreconfHook
|
||||
, cppunit
|
||||
, libsigcxx
|
||||
, openssl
|
||||
, pkg-config
|
||||
, zlib
|
||||
, gitUpdater
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoconf-archive,
|
||||
autoreconfHook,
|
||||
cppunit,
|
||||
libsigcxx,
|
||||
openssl,
|
||||
pkg-config,
|
||||
zlib,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -37,6 +38,8 @@ stdenv.mkDerivation rec {
|
||||
zlib
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-aligned=yes" ];
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@@ -45,7 +48,11 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/rakshasa/libtorrent";
|
||||
description = "BitTorrent library written in C++ for *nix, with focus on high performance and good code";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ebzzry codyopel thiagokokada ];
|
||||
maintainers = with lib.maintainers; [
|
||||
ebzzry
|
||||
codyopel
|
||||
thiagokokada
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user