memslap needs to link with -lm for math
authorStewart Smith <stewart@flamingspork.com>
Sun, 10 Jan 2010 04:05:15 +0000 (15:05 +1100)
committerStewart Smith <stewart@flamingspork.com>
Sun, 10 Jan 2010 04:05:15 +0000 (15:05 +1100)
clients/include.am

index 2e4d87eeb58fdaed4bb92c994380669ba178b5a4..028d3b93b12aa977f58ffcb1e88b9ca548898745 100644 (file)
@@ -69,7 +69,7 @@ clients_memslap_SOURCES= \
                clients/ms_stats.c \
                clients/ms_task.c \
                clients/ms_thread.c
-clients_memslap_LDADD= $(LTLIBEVENT) clients/libgenexec.la $(CLIENTS_LDADDS)
+clients_memslap_LDADD= $(LTLIBEVENT) clients/libgenexec.la $(CLIENTS_LDADDS) -lm
 
 clients_memcapable_SOURCES= clients/memcapable.c
 if BUILD_BYTEORDER