ngtcp2: switch to cmake build system to fix aarch64-linux build
Oversite happened in #189757
This commit is contained in:
parent
b292bfd0ab
commit
0ad4c0f29c
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub
|
||||||
, autoreconfHook, pkg-config, file
|
, cmake
|
||||||
, libev, nghttp3, quictls
|
, libev, nghttp3, quictls
|
||||||
, cunit, ncurses
|
, cunit, ncurses
|
||||||
, withJemalloc ? false, jemalloc
|
, withJemalloc ? false, jemalloc
|
||||||
|
@ -18,13 +18,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ];
|
outputs = [ "out" "dev" "doc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config file ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
|
buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
|
||||||
checkInputs = [ cunit ncurses ];
|
checkInputs = [ cunit ncurses ];
|
||||||
|
|
||||||
preConfigure = ''
|
cmakeFlags = [
|
||||||
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
|
"-DENABLE_STATIC_LIB=OFF"
|
||||||
'';
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue