Make DRI dependencies and build depend on the target
[mesa.git] / src / gallium / tests / trivial / Makefile.am
index d795ab164d7aca550e3a1886c8508a5292a96611..8a8fad138e323cc9061fc246c99ad0e2e13a9fc3 100644 (file)
@@ -17,7 +17,7 @@ LDADD = $(GALLIUM_PIPE_LOADER_CLIENT_LIBS) \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
        $(GALLIUM_COMMON_LIB_DEPS)
 
-if HAVE_DRI
+if HAVE_DRISW
 LDADD += \
        $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
 endif