Module: Mesa Branch: 18.1 Commit: 8143fefa1007dd57f490dd91c7a67cbaa57adf6e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8143fefa1007dd57f490dd91c7a67cbaa57adf6e
Author: Alexander Tsoy <[email protected]> Date: Wed Aug 15 23:54:46 2018 +0300 meson: fix build for egl platform_x11 without dri3 and gbm Compiling EGL's platform_x11 without dri3 and gbm yields this compile failure: platform_x11 needs inc_loader: ../mesa-18.2.0-rc2/src/egl/drivers/dri2/platform_x11.c:48:10: fatal error: loader.h: No such file or directory #include "loader.h" ^~~~~~~~~~ Fixes: 108d257a1685 ("meson: build libEGL") Bugzilla: https://bugs.gentoo.org/663534 Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit 9a96bf0ecd071219cb975fbd64f5c68849fd5697) --- src/egl/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl/meson.build b/src/egl/meson.build index 6537e4bdee..4b7a76a9da 100644 --- a/src/egl/meson.build +++ b/src/egl/meson.build @@ -99,6 +99,7 @@ endif if with_platform_x11 files_egl += files('drivers/dri2/platform_x11.c') + incs_for_egl += inc_loader if with_dri3 files_egl += files('drivers/dri2/platform_x11_dri3.c') link_for_egl += libloader_dri3_helper _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
