summaryrefslogtreecommitdiff
path: root/glx/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'glx/Makefile.am')
-rw-r--r--glx/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/glx/Makefile.am b/glx/Makefile.am
index 2397d4a49..7fb28fb50 100644
--- a/glx/Makefile.am
+++ b/glx/Makefile.am
@@ -47,8 +47,11 @@ glapi_sources = \
glprocs.h \
glthread.h
-libglxdri_la_SOURCES = \
- glxdri.c
+libglxdri_la_SOURCES =
+
+if DRI
+libglxdri_la_SOURCES += glxdri.c
+endif
if DRI2_AIGLX
libglxdri_la_SOURCES += glxdri2.c