summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-05-07 19:20:23 +0300
committerVille Syrjälä <[email protected]>2018-05-11 17:41:57 +0300
commit659910eda01de0ddbd168a0879f548b7950aef00 (patch)
tree2e9664315d9aed16308d90a53457ca8fe45c4900
parentefc10949cc9259da25dafd4965ba5e58cd99a181 (diff)
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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]>
-rw-r--r--src/egl/meson.build1
1 files changed, 1 insertions, 0 deletions
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