Skip to content

Commit

Permalink
Merge pull request #310050 from alyssais/libndp-musl
Browse files Browse the repository at this point in the history
libndp: fix cross compilation to musl
NickCao authored May 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 970c823 + 2b3d191 commit dce50cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/libndp/default.nix
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit dce50cf

Please sign in to comment.