diff options
author | Jim Meyering <jim@meyering.net> | 2006-03-27 07:34:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-03-27 07:34:48 +0000 |
commit | 20e2d352c0e1fb1e9cade09b758e95a3843b9b2c (patch) | |
tree | 1625711e603bbbde3436e521c06e97c4a81b4c4f /src | |
parent | 1c952c4d7d71955656ff234694f529c555d8c65b (diff) | |
download | coreutils-20e2d352c0e1fb1e9cade09b758e95a3843b9b2c.tar.xz |
(uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod.
Tiny patch from Nickolai Zeldovich.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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) |