mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
build: glx: Lower gl version to work with libglvnd
When using mesa with libglvnd support, mesa will no longer install the
gl, glx, egl pkg-config files but instead let libglvnd provide them.
libglvnd maintainers decided to change the versioning as it was
mesa-specific previously. Now the libraries have versions of the API
they expose[1].
This causes problems when building the X server:
checking for glproto >= 1.4.17 gl >= 9.2.0... no
configure: error: Package requirements (glproto >= 1.4.17 gl >= 9.2.0) were not met:
Requested 'gl >= 9.2.0' but version of gl is 1.2
Lower the version requirement to 1.2 to allow building against libglvnd
provided libraries
[1] 0dfaea2bcb
This commit is contained in:
committed by
Adam Jackson
parent
afd80cfcd5
commit
e6ef2b1240
@@ -39,7 +39,7 @@ if build_glx
|
||||
common_dep,
|
||||
dl_dep,
|
||||
dependency('glproto', version: '>= 1.4.17'),
|
||||
dependency('gl', version: '>= 9.2.0'),
|
||||
dependency('gl', version: '>= 1.2'),
|
||||
],
|
||||
c_args: [
|
||||
glx_align64,
|
||||
|
||||
Reference in New Issue
Block a user