Mesa (staging/18.1): meson: fix egl build for surfaceless

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 23 16:35:22 UTC 2018


Module: Mesa
Branch: staging/18.1
Commit: 928f24693c0fb62acce6c507a0a44487e7e27ea6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=928f24693c0fb62acce6c507a0a44487e7e27ea6

Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date:   Wed Aug 22 16:08:33 2018 -0700

meson: fix egl build for surfaceless

Without this, I get:

 > platform_surfaceless.c:38:10: fatal error: 'loader.h' file not found
 > #include "loader.h"
 >      ^~~~~~~~~~
 > 1 error generated.

Fixes: 108d257a16859898f5ce02f4759c5c58f9b8c050 ("meson: build libEGL")
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

v2: Split up patches, modify commit message (Dylan)
(cherry picked from commit ec6cb01e216439fcd8a76c793a336d1b25587a41)

---

 src/egl/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/meson.build b/src/egl/meson.build
index 4b7a76a9da..8353b2c048 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -114,6 +114,7 @@ if with_platform_drm
 endif
 if with_platform_surfaceless
   files_egl += files('drivers/dri2/platform_surfaceless.c')
+  incs_for_egl += [inc_loader]
 endif
 if with_platform_wayland
   deps_for_egl += [dep_wayland_client, dep_wayland_server]




More information about the mesa-commit mailing list