Mesa (staging/18.2): meson: fix egl build for android

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 24 12:45:35 UTC 2018


Module: Mesa
Branch: staging/18.2
Commit: d1596b3aebd9c9775e8b9cac44a5835ed72988bb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1596b3aebd9c9775e8b9cac44a5835ed72988bb

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

meson: fix egl build for android

Haven't tested this, but we do include loader.h
in platform_android.c

Fixes: c5ec1556859b7d33637c9fad13d3473c7b2f9eb3 ("meson: wire up egl/android")
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit c731508b9883c658dee9c4464452087345eebe1f)

---

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

diff --git a/src/egl/meson.build b/src/egl/meson.build
index d0a21fcdb4..1e0b1d33af 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -130,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




More information about the mesa-commit mailing list