[Mesa-dev] [PATCH] osmesa: Add gallium include dirs
Martin Peres
martin.peres at linux.intel.com
Mon Feb 23 00:31:44 PST 2015
Signed-off-by: Martin Peres <martin.peres at linux.intel.com>
---
src/mesa/drivers/osmesa/Makefile.am | 2 ++
src/mesa/drivers/osmesa/SConscript | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am
index 589b5ee..590dd66 100644
--- a/src/mesa/drivers/osmesa/Makefile.am
+++ b/src/mesa/drivers/osmesa/Makefile.am
@@ -29,6 +29,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/mapi \
-I$(top_builddir)/src/mapi \
-I$(top_srcdir)/src/mesa/ \
+ -I$(top_srcdir)/src/gallium/include \
+ -I$(top_srcdir)/src/gallium/auxiliary \
$(DEFINES)
AM_CFLAGS = $(PTHREAD_CFLAGS) \
$(VISIBILITY_CFLAGS)
diff --git a/src/mesa/drivers/osmesa/SConscript b/src/mesa/drivers/osmesa/SConscript
index caa14d3..f836da5 100644
--- a/src/mesa/drivers/osmesa/SConscript
+++ b/src/mesa/drivers/osmesa/SConscript
@@ -6,6 +6,8 @@ env.Prepend(CPPPATH = [
'#src',
'#src/mapi',
'#src/mesa',
+ '#src/gallium/include',
+ '#src/gallium/auxiliary',
Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers
])
--
2.3.0
More information about the mesa-dev
mailing list