Make DRI dependencies and build depend on the target
[mesa.git] / src / gallium / state_trackers / Makefile.am
index 209856041eee5e792146224a5baed1eba650ce0b..3ced6adb482610f453753114e4529af6233aa0bb 100644 (file)
@@ -29,7 +29,7 @@ if HAVE_GALLIUM_OSMESA
 SUBDIRS += osmesa
 endif
 
-if HAVE_DRI
+if HAVE_DRICOMMON
 SUBDIRS += dri
 endif