iperf2: fix cross compilation

This commit is contained in:
Nick Cao 2022-12-12 14:44:53 +08:00
parent c7c950be89
commit 87e87ca7b8
No known key found for this signature in database

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
configureFlags = [ "--enable-fastsampling" ];
makeFlags = [ "AR:=$(AR)" ];
postInstall = ''
mv $out/bin/iperf $out/bin/iperf2
ln -s $out/bin/iperf2 $out/bin/iperf