megacmd: autoreconfHook and enableParallelBuilding

5m 14s -> 1m 16s
This commit is contained in:
Artturin 2022-04-13 23:01:11 +03:00
parent 079d0fef5e
commit b16749039a

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, autoconf
, automake
, autoreconfHook
, c-ares
, cryptopp
, curl
@ -14,7 +13,6 @@
, libmediainfo
, libraw
, libsodium
, libtool
, libuv
, libzen
, pcre-cpp
@ -35,7 +33,8 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [
c-ares
@ -54,10 +53,6 @@ stdenv.mkDerivation rec {
sqlite
];
preConfigure = ''
./autogen.sh
'';
configureFlags = [
"--disable-curl-checks"
"--disable-examples"