endif
if HAVE_SWRAST_DRI
-SUBDIRS+=swrast
+SUBDIRS += swrast
+MEGADRIVERS_DEPS += swrast/libswrast_dri.la
+MEGADRIVERS += swrast_dri.so
endif
pkgconfigdir = $(libdir)/pkgconfig
common/libmegadriver_stub.la \
common/libdricommon.la \
$(MEGADRIVERS_DEPS) \
- $(MEGADRIVER_DRI_LIB_DEPS) \
+ $(DRI_LIB_DEPS) \
$()
if NEED_MEGADRIVER