diff --git a/src/Makefile.am b/src/Makefile.am index 5fc5c1c..675c530 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -36,7 +36,7 @@ libiperf_a_SOURCES = \ # Specify the sources and various flags for the iperf binary iperf3_SOURCES = main.c iperf3_CFLAGS = -g -Wall -iperf3_LDADD = libiperf.a +iperf3_LDADD = libiperf.a -lm iperf3_LDFLAGS = # Specify the sources and various flags for the profiled iperf binary. This @@ -45,7 +45,7 @@ iperf3_profile_SOURCES = main.c \ $(libiperf_a_SOURCES) iperf3_profile_CFLAGS = -pg -Wall -iperf3_profile_LDADD = libiperf.a +iperf3_profile_LDADD = libiperf.a -lm iperf3_profile_LDFLAGS = # Specify the sources and various flags for the test cases diff --git a/src/Makefile.in b/src/Makefile.in index 5ae6bce..4f1963f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -268,7 +268,7 @@ libiperf_a_SOURCES = \ # Specify the sources and various flags for the iperf binary iperf3_SOURCES = main.c iperf3_CFLAGS = -g -Wall -iperf3_LDADD = libiperf.a +iperf3_LDADD = libiperf.a -lm iperf3_LDFLAGS = # Specify the sources and various flags for the profiled iperf binary. This @@ -277,7 +277,7 @@ iperf3_profile_SOURCES = main.c \ $(libiperf_a_SOURCES) iperf3_profile_CFLAGS = -pg -Wall -iperf3_profile_LDADD = libiperf.a +iperf3_profile_LDADD = libiperf.a -lm iperf3_profile_LDFLAGS = # Specify the sources and various flags for the test cases