summaryrefslogtreecommitdiffstats
path: root/src/loader/Makefile.am
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2014-07-01 11:15:41 -0400
committerBrian Paul <[email protected]>2014-07-01 09:42:44 -0600
commit4d6c9352f3b1d7c2df626b30bbfc6da4dfaf52e6 (patch)
treeb0a05eda4526bd24f758db07019e78db3e2ecef6 /src/loader/Makefile.am
parentad6e1e12cc2ed8b07cebc555b2ea0029037f7d93 (diff)
mesa: fix the condition in src/loader/Makefile.am
We want to have the dri common files compiled to define USE_DRICONF. We need to check both NEED_OPENGL_COMMON and HAVE_DRICOMMON Signed-off-by: Axel Davy <[email protected]> Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/loader/Makefile.am')
-rw-r--r--src/loader/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loader/Makefile.am b/src/loader/Makefile.am
index ae8a84492fd..c02de6f59a4 100644
--- a/src/loader/Makefile.am
+++ b/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 += \