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

Michel Dänzer michel at daenzer.net
Mon Jun 2 00:36:07 PDT 2014


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


More information about the mesa-dev mailing list