libndp: fix cross compilation to musl
Assume that malloc works properly if cross compiling.
This commit is contained in:
parent
3645b258dd
commit
2b3d191a28
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://libndp.org/";
|
||||
description = "Library for Neighbor Discovery Protocol";
|
||||
|
Loading…
Reference in New Issue
Block a user