summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-10-18 12:20:43 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-10-20 16:46:48 -0700
commit108d257a16859898f5ce02f4759c5c58f9b8c050 (patch)
tree0bda907e3e63c9dad56e0656b9336c0ae34a233b /include
parentddf06a05ad32118854136f9ad0bc2a38f41e6430 (diff)
meson: build libEGL
This is based heavily on Daniel Stone's work for the same, rebased on master and with a number of TODO's fixed. This does not implement glvnd (which is coming in a later patch) Meson builds egl slightly differently than autotools, namely it doesn't build an intermediate shared library. It doesn't do this because meson doesn't have problems with the name of the library being dynamically generated, so the glvnd and non-glvnd code can follow the same path. v2: - Don't reuse variable (Eric E.) Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Tested-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build
index e33a8569d76..88e66a1a8f4 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -58,3 +58,11 @@ endif
if with_osmesa
install_headers('GL/osmesa.h', subdir : 'GL')
endif
+
+if with_egl
+ install_headers(
+ 'EGL/eglext.h', 'EGL/egl.h', 'EGL/eglextchromium.h', 'EGL/eglmesaext.h',
+ 'EGL/eglplatform.h',
+ subdir : 'EGL',
+ )
+endif