diff options
author | duncan.hopkins <duncan.hopkins@foundry.com> | 2023-10-27 15:32:55 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-18 18:06:45 +0000 |
commit | b0bdd0cae3b22d9db91a49e0c6f625445a055831 (patch) | |
tree | 07b6976787a9559cdcb83ad8fafdb7e44babf314 /src/glx | |
parent | af04f17909109b91425ac21d0d9d54f2ec3b59af (diff) |
meson: relaxed some meson restrictions on MacOS/Apple allowing for wider build support.
This patch allows the meson build files, on MacOS, to build the DRI2 and EGL code paths.
This is needed to activate the gallium drivers for swrast and zink to be used.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28205>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/meson.build b/src/glx/meson.build index 1a5e9833956..1d4180f94e2 100644 --- a/src/glx/meson.build +++ b/src/glx/meson.build @@ -78,7 +78,7 @@ extra_deps_libgl = [] extra_ld_args_libgl = [] # dri2 -if with_dri_platform == 'drm' and dep_libdrm.found() +if (with_dri_platform == 'drm' and dep_libdrm.found()) or with_dri_platform == 'apple' files_libglx += files( 'dri2.c', 'dri2_glx.c', @@ -136,7 +136,7 @@ libglx = static_library( ], dependencies : [ idep_mesautil, idep_xmlconfig, - dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_xext, dep_glvnd, dep_xxf86vm, dep_xshmfence + dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_xext, dep_glvnd, dep_xxf86vm, dep_xshmfence, dep_xfixes, ], ) |