[Mesa-dev] [PATCH] meson: fix egl build for surfaceless and android
Gurchetan Singh
gurchetansingh at chromium.org
Wed Aug 22 17:48:06 UTC 2018
Without this, I get:
> platform_surfaceless.c:38:10: fatal error: 'loader.h' file not found
> #include "loader.h"
> ^~~~~~~~~~
> 1 error generated.
I also included this for platform_android, but I haven't tested that
case.
---
src/egl/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/egl/meson.build b/src/egl/meson.build
index c7c22d3637..06922c6c3c 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, dep_wayland_egl_headers]
@@ -129,6 +130,7 @@ endif
if with_platform_android
deps_for_egl += dep_android
files_egl += files('drivers/dri2/platform_android.c')
+ incs_for_egl += [inc_loader]
endif
if with_platform_haiku
incs_for_egl += inc_haikugl
--
2.16.4
More information about the mesa-dev
mailing list