Re: [Vala] vala+automake bug?



* Why it works on my computer? I check my Makefile,
  and there is no -lm.

I seem to remember that on certain platforms math functions are included
in libc and adding libm isn't necessary.  It's probably not a good idea
to rely on that and either always pass -lm or use AC_CHECK_LIB (or
something similar) to find out whether or not you need it.

Thank you for the explanation.

Nice day
Nor Jaidi Tuah





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