[Mesa-dev] [PATCH 2/2] Fix typo preventing xxf86vm being used in meson build

Jon Turney jon.turney at dronecode.org.uk
Tue Dec 11 15:15:10 UTC 2018


Also add now needed xxf86vm to the dependencies of libGL

Signed-off-by: Jon Turney <jon.turney at dronecode.org.uk>
---
 src/glx/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/glx/meson.build b/src/glx/meson.build
index 1de35fca6bc..2507993ed52 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -137,7 +137,7 @@ gl_lib_cargs = [
 ]
 
 if dep_xxf86vm.found()
-  gl_lib_cargs += '-DHAVE_XF86VIDMODE'
+  gl_lib_cargs += '-DXF86VIDMODE'
 endif
 
 libglx = static_library(
@@ -166,7 +166,7 @@ if with_glx == 'dri'
     link_args : [ld_args_bsymbolic, ld_args_gc_sections, extra_ld_args_libgl],
     dependencies : [
       dep_libdrm, dep_dl, dep_m, dep_thread, dep_x11, dep_xcb_glx, dep_xcb,
-      dep_x11_xcb, dep_xcb_dri2, dep_xext, dep_xfixes, dep_xdamage,
+      dep_x11_xcb, dep_xcb_dri2, dep_xext, dep_xfixes, dep_xdamage, dep_xxf86vm,
       extra_deps_libgl,
     ],
     version : gl_lib_version,
-- 
2.17.0



More information about the mesa-dev mailing list