Merge pull request #206342 from NickCao/bgpdump-cross

bgpdump: fix cross compilation
This commit is contained in:
lewo 2022-12-16 20:17:06 +01:00 committed by GitHub
commit 0b3471bb54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];