[Mesa-dev] [PATCH V2 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

Axel Davy axel.davy at ens.fr
Fri May 30 04:20:58 PDT 2014


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 ?

Axel Davy


More information about the mesa-dev mailing list