[PATCH xserver 4/7] meson: Make driprotos and libdrm optional

Eric Anholt eric at anholt.net
Tue May 9 22:05:19 UTC 2017


Jon Turney <jon.turney at 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 <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170509/d4c7eb09/attachment.sig>


More information about the xorg-devel mailing list