From: Jim Meyering Date: Mon, 27 Mar 2006 07:34:48 +0000 (+0000) Subject: (uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod. X-Git-Tag: v6.0~539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20e2d352c0e1fb1e9cade09b758e95a3843b9b2c;p=thirdparty%2Fcoreutils.git (uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod. Tiny patch from Nickolai Zeldovich. --- diff --git a/src/Makefile.am b/src/Makefile.am index e31da576d6..0fcb0832c8 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)