libdaemon: Enable cross-compilation

This commit is contained in:
Ben Gamari 2017-10-27 18:23:15 -04:00 committed by John Ericson
parent f83bf0e79d
commit 2e4124c8c9

View File

@ -8,7 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx";
};
configureFlags = [ "--disable-lynx" ];
configureFlags = [ "--disable-lynx" ]
++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
[ # Can't run this test while cross-compiling
"ac_cv_func_setpgrp_void=yes"
];
meta = {
description = "Lightweight C library that eases the writing of UNIX daemons";