Make DRI dependencies and build depend on the target
[mesa.git] / src / gallium / winsys / Makefile.am
index ab1acc37b4a6026690fd083c92fd8705963d1a3e..7d7a0b11f7a413c6fd79b5504c380138c9636474 100644 (file)
@@ -26,7 +26,7 @@ if NEED_WINSYS_XLIB
 SUBDIRS += sw/xlib
 endif
 
-if HAVE_DRI
+if HAVE_DRISW
 SUBDIRS += sw/dri
 endif