diff options
author | Marvin Schmidt <marv@exherbo.org> | 2019-09-24 09:58:43 +0200 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2019-10-08 18:40:59 +0000 |
commit | e6ef2b12404dfec7f23592a3524d2a63d9d25802 (patch) | |
tree | 6a0a5ac09a8a6d91303939d050422adeb0d8dc80 /glx | |
parent | afd80cfcd5ed7cd45d72620e74df86b016f81f3a (diff) |
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] https://github.com/NVIDIA/libglvnd/commit/0dfaea2bcb7cdcc785f95e244223bd004a2d7fba
Diffstat (limited to 'glx')
-rw-r--r-- | glx/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/meson.build b/glx/meson.build index 7f9e549f0..745814336 100644 --- a/glx/meson.build +++ b/glx/meson.build @@ -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, |