summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2006-03-12 17:14:03 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2006-03-12 17:14:03 +0000
commiteb63e50d95da4e1e08fc6fcec46ac63d5e3b7bf4 (patch)
treeee122b470c0bcbdbf50abade725fb48a2c5b1c39 /hw
parent9ed3463450469c3108e0be7e4baabc0a403a78b2 (diff)
Fix build when AIGLX is false.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/dixmods/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/xfree86/dixmods/Makefile.am b/hw/xfree86/dixmods/Makefile.am
index 0e06f5464..5162ee18b 100644
--- a/hw/xfree86/dixmods/Makefile.am
+++ b/hw/xfree86/dixmods/Makefile.am
@@ -73,9 +73,12 @@ libfb_la_LIBADD = $(top_builddir)/fb/libfb.la
libfb_la_SOURCES = $(top_builddir)/fb/fbcmap.c fbmodule.c
libglx_la_LDFLAGS = -avoid-version
+if AIGLX
+GLXDRI_LIBRARY = $(top_builddir)/GL/glx/libglxdri.la
+endif
libglx_la_LIBADD = \
$(top_builddir)/GL/glx/libglx.la \
- $(top_builddir)/GL/glx/libglxdri.la
+ $(GLXDRI_LIBRARY)
libglx_la_SOURCES = glxmodule.c
libmfb_la_LDFLAGS = -avoid-version