summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2017-06-12 12:00:07 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2017-06-14 16:55:13 +0100
commit2154defcd698c7f9862bd235925cac75c0d5a520 (patch)
tree4c4a2d4f93296efdb495f7f8be76dc2ccfd26c57 /src/mapi
parentc1eedb43f32f6a3733f26e7918eb028f68bd60a4 (diff)
Fix khrplatform.h not installed if EGL is disabled.
KHR/khrplatform.h is required by the EGL, GLES and VG headers, but is only installed if Mesa3d is compiled with EGL support. This patch installs this header file unconditionally. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77240 Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index e5477364ce5..9ff70a14fdd 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
@@ -241,3 +241,6 @@ es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
$(srcdir)/glapi/gen/gl_and_es_API.xml > $@
include $(top_srcdir)/install-lib-links.mk
+
+khrdir = $(includedir)/KHR
+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h