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

Daniel Stone daniel at fooishbar.org
Tue May 29 14:29:06 UTC 2018


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/

Cheers,
Daniel


More information about the mesa-dev mailing list