On 30.05.2014 20:20, Axel Davy wrote: > On 30/05/2014 06:05, Michel Dänzer wrote : >> On 30.05.2014 12:49, Axel Davy wrote: >>> On 29/05/2014 23:31, Michel Dänzer a wrote : >>> >>> I tried with your compile options (except for the opencl flags, didn't >>> have the required libs), and it worked. >>> Did you try adding -lm to libloader_la_LIBADD ? >> That fixes it, but is it a proper solution? Doesn't xmlconfig.c require >> at least expat as well? >> >> > It does require expat, and that's why my patch links to libloader to > expat as well when it has xmlconfig.c. > > It looks like I don't need to add -lm (I tested with both gcc and > clang), but you do, > so adding it to libloader_la_LIBADD in addition to expat seems ok to me. > > Have you another solution ?
No, I guess that's fine. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev