[Mesa-dev] [PATCH] pkgconfig: Fix gl.pc when glvnd is enabled

Emil Velikov emil.l.velikov at gmail.com
Tue May 29 17:35:06 UTC 2018


On 29 May 2018 at 15:29, Daniel Stone <daniel at fooishbar.org> wrote:
> On 29 May 2018 at 15:17, Eric Engestrom <eric.engestrom at intel.com> wrote:
>> On Tuesday, 2018-05-29 09:50:46 -0400, Adam Jackson wrote:
>>> GL_LIB expands to GLX_mesa, but applications should not link against
>>> that. -lGL is never wrong, just hardcode it.
>>
>> Agreed, and Archlinux has had this patch since basically forever:
>> https://git.archlinux.org/svntogit/packages.git/tree/trunk/0001-glvnd-fix-gl.pc.patch?h=packages/mesa
>
> Ugh. There's also this patch from February doing a similar thing:
> https://patchwork.freedesktop.org/patch/206547/
>
Almost s/similar/better/ ;-)

Unless I've missed something handful of the patches are still
unreviewed and applicable as-is.
Would have pushed the lot (with the cosmetics spotted by Dylan) yet
last time last few times there were plenty of unhappy people.

You know unreviewed being and all :-\
-Emil


More information about the mesa-dev mailing list