From: Ville Syrjälä Date: Mon, 7 May 2018 16:20:23 +0000 (+0300) Subject: meson: Fix build for egl platform_x11 with dri3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=659910eda01de0ddbd168a0879f548b7950aef00;p=mesa.git meson: Fix build for egl platform_x11 with dri3 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 Reviewed-by: Eric Engestrom Signed-off-by: Ville Syrjälä --- diff --git a/src/egl/meson.build b/src/egl/meson.build index 6537e4bdee6..9050d763a6c 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