From 20e2d352c0e1fb1e9cade09b758e95a3843b9b2c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 Mar 2006 07:34:48 +0000 Subject: (uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod. Tiny patch from Nickolai Zeldovich. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index e31da576d..0fcb0832c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -98,7 +98,8 @@ nanosec_libs = $(LDADD) $(POW_LIB) $(LIB_NANOSLEEP) sleep_LDADD = $(nanosec_libs) tail_LDADD = $(nanosec_libs) -uptime_LDADD = $(LDADD) $(GETLOADAVG_LIBS) +# If necessary, add -lm to resolve use of pow in lib/strtod.c. +uptime_LDADD = $(LDADD) $(POW_LIB) $(GETLOADAVG_LIBS) su_LDADD = $(LDADD) $(LIB_CRYPT) -- cgit v1.2.3-70-g09d2