rusticl: add x11 dependency
This is needed by `glx.h` pulling in `X11/Xlib.h`
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10221
Fixes: df0623e51a
("rusticl, meson: Add gl/egl/glx bindings")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26394>
This commit is contained in:
@@ -2069,6 +2069,9 @@ if with_platform_x11
|
||||
if with_xlib_lease
|
||||
dep_xlib_xrandr = dependency('xrandr', version : '>= 1.3')
|
||||
endif
|
||||
elif with_gallium_rusticl
|
||||
# needed for GL sharing extension
|
||||
dep_x11 = dependency('x11')
|
||||
endif
|
||||
|
||||
if with_dri
|
||||
|
@@ -154,6 +154,9 @@ rusticl_opencl_bindings_rs = rust.bindgen(
|
||||
include_directories : [
|
||||
inc_include,
|
||||
],
|
||||
dependencies : [
|
||||
dep_x11,
|
||||
],
|
||||
c_args : [
|
||||
rusticl_bindgen_c_args,
|
||||
cl_c_args,
|
||||
|
Reference in New Issue
Block a user