Jon Turney <jon.tur...@dronecode.org.uk> writes:

> On 08/05/2017 21:28, Jon Turney wrote:
>> On 08/05/2017 18:12, Eric Anholt wrote:
>>> Jon Turney writes:
>>>> +libxserver_dri3 = ''
>>>
>>> Pretty sure this should be = []
>>
>> Yeah, me too.  But when I try it:
>>
>>> Meson encountered an error in file hw/kdrive/ephyr/meson.build, line
>>> 40, column 0:
>>> Link target [] is not library.
>>
>> Hmmm..  if I add it with libxserver += libxserver_dri3, it works, so it
>> seems there is some kind of list flattening failure somewhere...
>
> Yes, it seems link_with: doesn't get flattened.
>
> https://github.com/mesonbuild/meson/issues/1764
>
> Attached is a revised patch, which does the flattening by hand.

Thanks for investigating.  Seems like a reasonable workaround.

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to