diff options
author | lewo <lewo@abesis.fr> | 2022-12-16 20:17:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 20:17:06 +0100 |
commit | 0b3471bb54af6695774295ff445e2dc7930aa290 (patch) | |
tree | c1929e0c533e8b8cb67b6f5b60ebc70b6a10e7bf /pkgs | |
parent | 4e2ce56d6f1d37de9af326124af33ed1df26d52c (diff) | |
parent | 489f2cf089321e8ccc6eeb342bfd2a2e2a12b0dd (diff) |
Merge pull request #206342 from NickCao/bgpdump-cross
bgpdump: fix cross compilation
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/bgpdump/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/networking/bgpdump/default.nix b/pkgs/tools/networking/bgpdump/default.nix index f60b60c399261..5e98228da2e56 100644 --- a/pkgs/tools/networking/bgpdump/default.nix +++ b/pkgs/tools/networking/bgpdump/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { sha256 = "sha256-1HXMf9mHManR7jhonU2Agon0YFXOlM9APIN1Zm840AM="; }; + postPatch = '' + substituteInPlace Makefile.in --replace 'ar r libbgpdump.a' '$(AR) r libbgpdump.a' + ''; + nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ zlib bzip2 ]; |