[Mesa-dev] [PATCH 5/8] autotools: Fix includes for non-shared glapi tests.

Dylan Baker dylan at pnwbakers.com
Mon Nov 20 23:12:49 UTC 2017


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 src/mapi/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index 015edc37cb3..5db888abddc 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
@@ -150,7 +150,8 @@ check_PROGRAMS += glapi-test
 glapi_test_SOURCES = glapi/tests/check_table.cpp
 glapi_test_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
-	-I$(top_srcdir)/src/gtest/include
+	-I$(top_srcdir)/src/gtest/include \
+	-I$(top_srcdir)/src/mesa
 
 glapi_test_LDADD = \
 	$(top_builddir)/src/mapi/glapi/libglapi.la \
-- 
2.15.0



More information about the mesa-dev mailing list