summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/epoxy/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/epoxy/Makefile.am b/include/epoxy/Makefile.am
index 3622239..816a67a 100644
--- a/include/epoxy/Makefile.am
+++ b/include/epoxy/Makefile.am
@@ -26,5 +26,10 @@ epoxyinclude_HEADERS = \
$(GLX_INCLUDES) \
$()
+if BUILD_EGL
EGL_INCLUDES = egl.h
+endif
+
+if BUILD_GLX
GLX_INCLUDES = glx.h
+endif