summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-04-01 17:42:42 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-04-25 21:09:26 +0100
commitc0953cf06e28da10f2e2481fb8ad90dc7c36f3d7 (patch)
treefb88a7b6bae5ccec7f6ece258d69f74c25218103 /src/gallium/tests
parent6c44d43baed93058f3a778f485f7833e9c6f5307 (diff)
downloadexternal_mesa3d-c0953cf06e28da10f2e2481fb8ad90dc7c36f3d7.zip
external_mesa3d-c0953cf06e28da10f2e2481fb8ad90dc7c36f3d7.tar.gz
external_mesa3d-c0953cf06e28da10f2e2481fb8ad90dc7c36f3d7.tar.bz2
gallium/tests: conditionally include sw/dri winsys
In all fairness we allow the gallium tests to be build with --disable-dri which will result in the approapriate winsys to not be build, thus the build will fail. ./configure --disable-dri --with-gallium-drivers=svga --enable-gallium-tests Cc: Brian Paul <brianp@vmware.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r--src/gallium/tests/trivial/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/Makefile.am b/src/gallium/tests/trivial/Makefile.am
index 3c26cd3..d795ab1 100644
--- a/src/gallium/tests/trivial/Makefile.am
+++ b/src/gallium/tests/trivial/Makefile.am
@@ -13,11 +13,15 @@ AM_CPPFLAGS = \
LDADD = $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \
$(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_client.la \
- $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la \
$(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(GALLIUM_COMMON_LIB_DEPS)
+if HAVE_DRI
+LDADD += \
+ $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
+endif
+
if NEED_WINSYS_XLIB
LDADD += \
$(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \