loader: Factor out the common driver opening logic from each loader.
[mesa.git] / src / loader / Makefile.am
index 76252564281957edb9c7f1438e7bd91925091983..3c22e0ae7e60593491e794468e87ba58d26bba1c 100644 (file)
@@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libloader.la
 AM_CPPFLAGS = \
        -I$(top_builddir)/src/util/ \
        -DUSE_DRICONF \
+       -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
        $(DEFINES) \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/include/drm-uapi \