bgpdump: fix cross compilation
This commit is contained in:
parent
c7c950be89
commit
489f2cf089
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-1HXMf9mHManR7jhonU2Agon0YFXOlM9APIN1Zm840AM=";
|
sha256 = "sha256-1HXMf9mHManR7jhonU2Agon0YFXOlM9APIN1Zm840AM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile.in --replace 'ar r libbgpdump.a' '$(AR) r libbgpdump.a'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ zlib bzip2 ];
|
buildInputs = [ zlib bzip2 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue