bgpdump: fix cross compilation

This commit is contained in:
Nick Cao
2022-12-16 14:09:32 +08:00
parent c7c950be89
commit 489f2cf089
@@ -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 ];