Merge pull request #177294 from NickCao/munge-cross
munge: fix cross compilation
This commit is contained in:
commit
1c243620ae
1 changed files with 9 additions and 1 deletions
|
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "15h805rwcb9f89dyrkxfclzs41n3ff8x7cc1dbvs8mb0ds682c4j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
libgcrypt # provides libgcrypt.m4
|
||||
];
|
||||
buildInputs = [ libgcrypt zlib bzip2 ];
|
||||
|
||||
preAutoreconf = ''
|
||||
|
@ -21,6 +25,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--with-libgcrypt-prefix=${libgcrypt.dev}"
|
||||
# workaround for cross compilation: https://github.com/dun/munge/issues/103
|
||||
"ac_cv_file__dev_spx=no"
|
||||
"x_ac_cv_check_fifo_recvfd=no"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue