From 108d257a16859898f5ce02f4759c5c58f9b8c050 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 18 Oct 2017 12:20:43 -0700 Subject: 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 Tested-by: Eric Engestrom Reviewed-by: Daniel Stone --- include/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/meson.build') 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 -- cgit v1.2.3