forked from mirrors/nixpkgs
bgpdump: fix cross compilation
This commit is contained in:
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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue