[Mesa-dev] [PATCH] meson: Fix build for egl platform_x11 with dri3
Ville Syrjala
ville.syrjala at linux.intel.com
Mon May 7 17:05:40 UTC 2018
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
platform_x11 with dri3 needs inc_loader.
In file included from ../src/egl/drivers/dri2/platform_x11_dri3.c:35:0:
../src/egl/drivers/dri2/egl_dri2.h:41:32: fatal error: loader_dri3_helper.h: No such file or directory
In file included from ../src/egl/drivers/dri2/platform_x11.c:46:0:
../src/egl/drivers/dri2/egl_dri2.h:41:32: fatal error: loader_dri3_helper.h: No such file or directory
In file included from ../src/egl/drivers/dri2/egl_dri2.c:61:0:
../src/egl/drivers/dri2/egl_dri2.h:41:32: fatal error: loader_dri3_helper.h: No such file or directory
Cc: Dylan Baker <dylan at pnwbakers.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
src/egl/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/egl/meson.build b/src/egl/meson.build
index 6537e4bdee61..9050d763a6cd 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -102,6 +102,7 @@ if with_platform_x11
if with_dri3
files_egl += files('drivers/dri2/platform_x11_dri3.c')
link_for_egl += libloader_dri3_helper
+ incs_for_egl += inc_loader
endif
deps_for_egl += [dep_x11_xcb, dep_xcb_dri2, dep_xcb_xfixes]
endif
--
2.16.1
More information about the mesa-dev
mailing list