Merge pull request #206342 from NickCao/bgpdump-cross
bgpdump: fix cross compilation
This commit is contained in:
commit
0b3471bb54
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue