bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #4994] Include -lm in uptime link line when needed


From: Jim Meyering
Subject: Re: [patch #4994] Include -lm in uptime link line when needed
Date: Mon, 27 Mar 2006 09:33:47 +0200

> In particular this matters when doing a cross-build.
>
> --- coreutils-5.94/src/Makefile.am      2006/03/27 05:08:50     1.1
> +++ coreutils-5.94/src/Makefile.am      2006/03/27 06:48:31
> @@ -88,7 +88,8 @@
>  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)

Applied.  Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]