summaryrefslogtreecommitdiffstats
path: root/src/mapi/Makefile.am
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-07-14 11:14:28 +0100
committerEric Engestrom <[email protected]>2017-07-14 13:23:54 +0100
commit8821ef4be1009328fc0bbf651feda6377efcd6b6 (patch)
tree8ed60ac2e960ff500164f1f43463b5e0191e7d0a /src/mapi/Makefile.am
parentb50b4b6f84dc990b870d2f6cf59fd758c1607fa0 (diff)
configure: only install khrplatform.h if needed
khrplatform.h is only used by EGL and GLES; let's only install it when one of those is enabled. Cc: [email protected] Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jussi Kukkonen <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mapi/Makefile.am')
-rw-r--r--src/mapi/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index 9ff70a14fdd..83e32d2185e 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
@@ -242,5 +242,7 @@ es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
include $(top_srcdir)/install-lib-links.mk
+if NEED_KHRPLATFORM
khrdir = $(includedir)/KHR
khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h
+endif