bgpdump: fix cross compilation

Nick Cao 489f2cf0 c7c950be

+4
+4
pkgs/tools/networking/bgpdump/default.nix
··· 11 sha256 = "sha256-1HXMf9mHManR7jhonU2Agon0YFXOlM9APIN1Zm840AM="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 buildInputs = [ zlib bzip2 ]; 16
··· 11 sha256 = "sha256-1HXMf9mHManR7jhonU2Agon0YFXOlM9APIN1Zm840AM="; 12 }; 13 14 + postPatch = '' 15 + substituteInPlace Makefile.in --replace 'ar r libbgpdump.a' '$(AR) r libbgpdump.a' 16 + ''; 17 + 18 nativeBuildInputs = [ autoreconfHook ]; 19 buildInputs = [ zlib bzip2 ]; 20