Re: -lm woes



On 08/29/11 02:02, Matthias Clasen wrote:
> If your modules fails to link recently, complaining about a missing
> -lm, I may be to blame. I have moved libpng to Requires.private in
> gdk-pixbuf, thereby removing an implicitly provided -lm from many link
> lines. Thankfully, the fix is very easy: just add -lm to LIBS where
> needed.
> Sorry for the incovenience.
>
> Matthias


for autofoo projects:
configure.ac:

dnl check for libm, for sin() etc.
AC_CHECK_LIBM
AC_SUBST(LIBM)

in Makefile.am
$(LIBM)

Stefan


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