[Fuego] [PATCH 2/3] iperf3: compile the binary statically

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Fri Mar 2 08:57:11 UTC 2018


I didn't notice this because my targets had the library already
installed.
I tried using --enable-static but didn't work so I also opened
an issue upstream:
https://github.com/esnet/iperf/issues/708

Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/tests/Benchmark.iperf3/fuego_test.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/engine/tests/Benchmark.iperf3/fuego_test.sh b/engine/tests/Benchmark.iperf3/fuego_test.sh
index e981967..09eac86 100755
--- a/engine/tests/Benchmark.iperf3/fuego_test.sh
+++ b/engine/tests/Benchmark.iperf3/fuego_test.sh
@@ -2,13 +2,12 @@
 tarball=iperf-3.1.3-source.tar.gz
 
 function test_build {
-    ./configure --host=$HOST --prefix=$(pwd)/build
+    LDFLAGS=-static ./configure --host=$HOST --prefix=$(pwd)/build
     make
-    make install
 }
 
 function test_deploy {
-    put build/bin/iperf3  $BOARD_TESTDIR/fuego.$TESTDIR/
+    put src/iperf3  $BOARD_TESTDIR/fuego.$TESTDIR/
 }
 
 function test_run {
-- 
2.7.4




More information about the Fuego mailing list