aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/loader/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/loader/Makefile.am')
-rwxr-xr-xmesalib/src/loader/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/loader/Makefile.am b/mesalib/src/loader/Makefile.am
index ae8a84492..c02de6f59 100755
--- a/mesalib/src/loader/Makefile.am
+++ b/mesalib/src/loader/Makefile.am
@@ -33,6 +33,7 @@ libloader_la_SOURCES = $(LOADER_C_FILES)
libloader_la_LIBADD =
if NEED_OPENGL_COMMON
+if HAVE_DRICOMMON
libloader_la_CPPFLAGS += \
-I$(top_srcdir)/src/mesa/drivers/dri/common/ \
-I$(top_builddir)/src/mesa/drivers/dri/common/ \
@@ -47,6 +48,7 @@ libloader_la_LIBADD += \
-lm \
$(EXPAT_LIBS)
endif
+endif
if !HAVE_LIBDRM
libloader_la_CPPFLAGS += \