[ovs-dev] [PATCH 2/2] tests: Link test-multipath with libm.

Andrew Evans aevans at nicira.com
Tue Apr 12 01:40:09 UTC 2011


This seems to be required by glibc 2.11.2.
---
 tests/automake.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/automake.mk b/tests/automake.mk
index 7872d21..e02a951 100644
--- a/tests/automake.mk
+++ b/tests/automake.mk
@@ -226,7 +226,7 @@ tests_test_lockfile_LDADD = lib/libopenvswitch.a
 
 noinst_PROGRAMS += tests/test-multipath
 tests_test_multipath_SOURCES = tests/test-multipath.c
-tests_test_multipath_LDADD = lib/libopenvswitch.a
+tests_test_multipath_LDADD = lib/libopenvswitch.a -lm
 
 noinst_PROGRAMS += tests/test-packets
 tests_test_packets_SOURCES = tests/test-packets.c
-- 
1.7.4.1




More information about the dev mailing list