[Mesa-dev] [PATCH] Fix out-of-tree build of 'make check' in src/mesa/main/tests

Jon TURNEY jon.turney at dronecode.org.uk
Fri Mar 1 07:28:15 PST 2013


Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 src/mesa/main/tests/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am
index 012b353..4acc815 100644
--- a/src/mesa/main/tests/Makefile.am
+++ b/src/mesa/main/tests/Makefile.am
@@ -4,10 +4,10 @@ AM_CFLAGS = \
 	$(X11_CFLAGS) \
 	$(PTHREAD_CFLAGS)
 AM_CPPFLAGS = \
-	-I$(top_builddir)/src/gtest/include \
-	-I$(top_builddir)/src/mapi \
-	-I$(top_builddir)/src/mesa \
-	-I$(top_builddir)/include \
+	-I$(top_srcdir)/src/gtest/include \
+	-I$(top_srcdir)/src/mapi \
+	-I$(top_srcdir)/src/mesa \
+	-I$(top_srcdir)/include \
 	$(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
 
 TESTS = main-test
-- 
1.7.9



More information about the mesa-dev mailing list