Mesa (main): build(glx): Fix build by adding missing deps

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 18 21:33:26 UTC 2022


Module: Mesa
Branch: main
Commit: 2e71e231885f6d5540d4aeb8dd1f232d4fb9ee68
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e71e231885f6d5540d4aeb8dd1f232d4fb9ee68

Author: jheaff1 <jheaff1 at outlook.com>
Date:   Sun Jul 17 23:04:23 2022 +0100

build(glx): Fix build by adding missing deps

dri3_glx.c includes xshmfence and glxcmds.c includes xf86vm, neither of
which are listed as dependencies of the glx lib in the meson.build file.
Consequently, those files would fail to compile on machines that did not
have xshmfence and xf86vm installed globally. This commit rectifies the
issue by adding the missing dependencies

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17585>

---

 src/glx/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glx/meson.build b/src/glx/meson.build
index 8f642d5e14b..20f04742894 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -136,7 +136,7 @@ libglx = static_library(
   ],
   dependencies : [
     idep_mesautil, idep_xmlconfig,
-    dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_glvnd,
+    dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_glvnd, dep_xxf86vm, dep_xshmfence
   ],
 )
 



More information about the mesa-commit mailing list